charts icon indicating copy to clipboard operation
charts copied to clipboard

[stable/vpa] keep admissionController.cleanupOnDelete when admissionController ena…

Open yasinlachiny opened this issue 2 years ago • 9 comments

Why This PR? I want to keep admissionController.cleanupOnDelete when admissionController enable: false And for general use cases if we can enable each admissionController separately that would be great. and for the special my use case I want to upgrade form fairwinds/vpa chart_version=1.1.0 to chart_version=1.4.0 and it will remove admission-controller-cleanup but I don't want to delete it and there is no way to keep it. If I want to keep it I have to use

admissionController:
  enabled: true

and it will enable a lot more things.

Fixes #

Changes Changes proposed in this pull request:

Checklist:

  • [x] I have included the name of the chart in the title of this PR in square brackets i.e. [stable/vpa].
  • [x] I have updated the chart version in Chart.yaml following Semantic Versioning.
  • [x] Any new values are backwards compatible and/or have sensible default.
  • [x] Any new values have been added to the README for the Chart, or helm-docs --sort-values-order=file has been run for the charts that support it.

yasinlachiny avatar Sep 23 '22 14:09 yasinlachiny

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 23 '22 14:09 CLAassistant

Hi there! Thanks for the contribution!

Can you please add some clarification to the PR text describing the desired use-case for this? I think I can see it, but want to make sure we're on the same page.

Additionally, a quick look at this tells me it's likely going to be simpler and easier to understand if we just remove the or and execute this hook if admissionController.cleanupOnDelete is set to true. What are your thoughts?

sudermanjr avatar Sep 23 '22 14:09 sudermanjr

Hi @sudermanjr

Thanks a lot for your quick response. I removed the or and execute hook just by admissionController.cleanupOnDelete That's absolutely better.

yasinlachiny avatar Sep 23 '22 14:09 yasinlachiny

Thanks for the quick update! Can you please sign the CLA? In the meantime, I'm trying to figure out what's wrong with our CI

sudermanjr avatar Sep 23 '22 14:09 sudermanjr

Hi @sudermanjr Could you please run the CI pipeline again? Thanks in advance.

yasinlachiny avatar Sep 26 '22 13:09 yasinlachiny

@yasinlachiny there's something wrong with CircleCI. We're gonna get in touch with their support team

rbren avatar Sep 26 '22 14:09 rbren

@yasinlachiny can you please sign the CLA?

sudermanjr avatar Sep 27 '22 15:09 sudermanjr

Hi @sudermanjr I signed the CLA issue. I used my other email address and it created a problem for CLA and I corrected it.

yasinlachiny avatar Sep 28 '22 19:09 yasinlachiny

@sudermanjr Just a friendly reminder :))

yasinlachiny avatar Oct 06 '22 12:10 yasinlachiny

@sudermanjr Just a friendly reminder :))

yasinlachiny avatar Dec 12 '22 21:12 yasinlachiny

Hi @vitorvezani @transient1 @sudermanjr Could you please check my last changes? I bumped the version based on master branch

yasinlachiny avatar Mar 05 '23 16:03 yasinlachiny