-
Notifications
You must be signed in to change notification settings - Fork 165
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 disableTakeOwnership
to Helm install/upgrade actions
#1140
Conversation
5dc3682
to
d684a7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change adds a new field called `disableTakeOwnership` to `.spec.install` and `.spec.upgrade`. The flag allows users to disable ignoring helm annotations and labels before taking ownership of existing resources during install and upgrade. Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna.work@gmail.com>
d684a7d
to
98622cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! Please add some tests in internal/reconcile/install_test.go
and internal/reconcile/upgrade_test.go
.
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna.work@gmail.com>
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna.work@gmail.com>
@matheuscscp , added a couple of tiny tests. Please LMK if these work. |
Thanks @kumar-mallikarjuna, I'll take a look tomorrow |
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna.work@gmail.com>
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna.work@gmail.com>
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna.work@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kumar-mallikarjuna !
This change adds a new field called
disableTakeOwnership
to.spec.install
and.spec.upgrade
. The flag allows users to disable ignoring helm annotations and labels before taking ownership of existing resources during install and upgrade.Closes #1139
xref: helm/helm#13439