-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Labels
component:syncIssues related to the Syncing behaviorIssues related to the Syncing behaviorenhancementNew feature or requestNew feature or request
Description
Summary
Make it possible to prevent the unintended usage of "replace" in UI sync options.
Motivation
To update resources by "kubectl replace" is dangerous under certain conditions. It already has a warning sign, but some might want to disable the usage completely. See #9767 also. It is very present in UI sync options and unfortunately it is likely impossible to block "replace" through kubernetes RBAC or other measures like OPA.
Proposal
- Create config flag to make the "replace" box grey out or disappear in UI sync options
- Alternatively: Make it a RBAC control.
fhopfensperger, tooptoop4, may-cat, insdeath, NivStav-RecoLabs and 20 more
Metadata
Metadata
Assignees
Labels
component:syncIssues related to the Syncing behaviorIssues related to the Syncing behaviorenhancementNew feature or requestNew feature or request