-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix: add namespace option to 'edit add configmap' command #5367
fix: add namespace option to 'edit add configmap' command #5367
Conversation
* Add the option to specify a namespace when using 'kustomize edit add configmap' for code parity with 'edit add secret'. * Rename constants for 'add configmap'/'add secret' so they are standardized. * Create new constant for the 'namespace' flag. * Update test cases to cover new scenarios.
Update the comment for the namespace option to reflect its real usage for both secret and configmap.
This PR has multiple commits, and the default merge method is: merge. 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/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
except the format, other LGTM
/lgtm |
/hold so you can address #5367 (comment) Feel free to remove the hold whenever you are ready to merge (and you can ping for another LGTM if needed) /lgtm |
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: charles-chenzz, natasha41575, stormqueen1990 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
kustomize edit add configmap
command.GeneratorArgs
to reflect the usage of theNamespace
field.Fixes #5366