Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubectl: support creating immutable secrets and configmaps #1698

Open
kplachkov opened this issue Jan 11, 2025 · 4 comments · May be fixed by kubernetes/kubernetes#127724
Open

kubectl: support creating immutable secrets and configmaps #1698

kplachkov opened this issue Jan 11, 2025 · 4 comments · May be fixed by kubernetes/kubernetes#127724
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@kplachkov
Copy link

What would you like to be added?

Support for creating immutable Secrets and ConfigMaps to kubectl.

Why is this needed?

This is needed to improve the UX.

@kplachkov kplachkov added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 11, 2025
@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Jan 11, 2025
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jan 11, 2025
@kplachkov
Copy link
Author

/sig cli

@k8s-ci-robot k8s-ci-robot added sig/cli Categorizes an issue or PR as relevant to SIG CLI. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Jan 11, 2025
@googs1025
Copy link
Member

/transfer kubectl

@k8s-ci-robot k8s-ci-robot transferred this issue from kubernetes/kubernetes Jan 12, 2025
@ardaguclu
Copy link
Member

Preparing a resource yaml containing all the required fields (including the immutable field is set to true) and after that, applying this resource via kubectl apply is the recommended path.

I don't think, we'd add more flags into these implicit commands. It is better to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
Status: Needs Triage
Development

Successfully merging a pull request may close this issue.

4 participants