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

Add annotation to prevent uninstalling helm chart of Job/App #231

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

aleksej-paschenko
Copy link
Contributor

Sometimes we want to remove App/Job CR but keep their helm chart
running, it is kind of soft self-uninstalling)

To handle this use-case, ketch-controller checks for
theketch.io/dont-uninstall-helm-chart=true annotation.
If it is present on an App/Job CR and kuberentes has marked the CR for deletion,
ketch controller doesn't uninstall its helm chart.

  Sometimes we want to remove App/Job CR but keep their helm chart
running, it is a kind of soft self-uninstalling)

  To handle this use-case, ketch-controller looks for
theketch.io/dont-uninstall-helm-chart=true annotation.
If it is present on an App/Job CR and kuberentes has marked the CR for deletion,
ketch controller doesn't uninstall its helm chart.
@aleksej-paschenko aleksej-paschenko merged commit 4b313a6 into main Feb 4, 2022
@aleksej-paschenko aleksej-paschenko deleted the shipa-2451 branch February 4, 2022 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants