Skip to content

kubectl edit secret could have a flag to edit as stringData #1749

Closed
@Jamstah

Description

@Jamstah

What would you like to be added:

An option for edit secret that converts the secret to stringData for editing, and back again.

Would need to work out what to do if a value contains binary data, probably abort the edit and print an error.

Why is this needed:

Make it easier to edit secrets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions