Skip to content

Allow disabling the reconciliation of in-cluster resources#484

Merged
stefanprodan merged 1 commit intomainfrom
ignore-resources
Nov 9, 2021
Merged

Allow disabling the reconciliation of in-cluster resources#484
stefanprodan merged 1 commit intomainfrom
ignore-resources

Conversation

@stefanprodan
Copy link
Copy Markdown
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 requested a review from hiddeco November 9, 2021 08:29
@stefanprodan stefanprodan added the enhancement New feature or request label Nov 9, 2021
Copy link
Copy Markdown
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...

Comment thread docs/spec/v1beta2/kustomization.md Outdated
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>
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