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 disabling the reconciliation of in-cluster resources #484

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Nov 9, 2021

Introduce kustomize.toolkit.fluxcd.io/reconcile annotation. When set to disabled, the controller will no longer apply changes from source, nor it will prune the annotated resource.

Ref: fluxcd/flux2#614

@stefanprodan stefanprodan added the enhancement New feature or request label Nov 9, 2021
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect the label to either be %s/reconciliation: disabled or %s/reconcile: false.

But looking at %s/prune, it wasn't followed there either...

Introduce `kustomize.toolkit.fluxcd.io/reconcile` annotation. When set to `disabled`, the controller will no longer apply changes from source, nor it will prune the annotated resource.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan merged commit 5b820ec into main Nov 9, 2021
@stefanprodan stefanprodan deleted the ignore-resources branch November 9, 2021 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants