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

Allow shared ownership of in-cluster objects applied with kubectl #581

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

stefanprodan
Copy link
Member

This PR offers an alternative to preventing kustomize-controller from overriding kubectl edits. There are cases when setting a different manager for kubectl is not possible (e.g. EKS CoreDNS), and thus patching existing objects is not possible.

With this PR, users can set an annotation or label to existing objects to hint at kustomize-controller that it should skip the kubectl manager takeover:

kustomize.toolkit.fluxcd.io/ssa: merge

Introduce an annotation that configures kustomize-controller to co-manage objects applied with kubectl.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added enhancement New feature or request area/server-side-apply SSA related issues and pull requests labels Mar 4, 2022
@stefanprodan stefanprodan merged commit 55cdef5 into main Mar 7, 2022
@stefanprodan stefanprodan deleted the ssa-merge branch March 7, 2022 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/server-side-apply SSA related issues and pull requests enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants