-
Notifications
You must be signed in to change notification settings - Fork 98
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
fix: crds getting removed on helm upgrades #519
Conversation
d47f7a3
to
f5f1c89
Compare
deploy/helm/charts/charts/crds/templates/csi-volume-snapshot-content.yaml
Show resolved
Hide resolved
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.
lgtm
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
ca6863f
to
407522c
Compare
and this now leads to it bugging out when reinstalling in a cluster or installing on a cluster that previously used the crds folder. Honestly: Does anyone here actually test these helm PR's, outside just a single initial install? |
For reinstalling or a fresh install with crds existing, users can use a simple set flag I don't think that was too hard to figure out from the PR, anyway. So I don't anything is going wrong here, we provided options, now users need to use what fits their use case. If you still feel we don't know what we are doing please feel free to open an issue and you can contribute, we would be happy to review your PR. |
Obviously, but that was not the previous behavior.
No it isn't, but it's also not in your release notes as a clear breaking behavioral change.
You significantly changed behavior, unneededly.
We likely are going to completely start rolling our own this summer, because the versioning and safety-of-updating of ZFS-LocalPV helm-charts is grossly unreliable, due to continuesly changing behavior. |
"bugging out" as in "fails to install the chart, but doesn't destroy anything"? Cool, I can very happily live with that - this is what I expected when I need to change some configuration. |
Why do we need this PR?
It was seen that on upgrade to 1.5.x the CRDs get removed causing the removal of CRs. This would prevent it.
It also adds annotations to let helm keep the CRDs on uninstall, which is configurable.