You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just did a helm delete on a chart (kubernetes-external-secrets) and it completely deleted the CRDs (which then deleted the ExternalSecrets - these themselves are in a different chart).
@DanTulovsky Helm doesn't automatically delete CRDs in Helm 3. It did in Helm 2.
This would only be possible if configured in the chart(s) that you used or perhaps from the environment you are running on. I suggest checking the chart you ran or with the chart maintainers.
The CRDs maybe created a templates in the chart template directory instead of the crds/ directory. If this is the case and the CRD chart is a dependency on the chart you helm uninstall with then it will remove the CRD.
If you are using Helm v2
The environment you are using. For example, this "lens ide"
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Activity
hickeyma commentedon Nov 23, 2022
@DanTulovsky Helm doesn't automatically delete CRDs in Helm 3. It did in Helm 2.
This would only be possible if configured in the chart(s) that you used or perhaps from the environment you are running on. I suggest checking the chart you ran or with the chart maintainers.
DanTulovsky commentedon Nov 23, 2022
Thank you for your reply. How would this be configured in a chart?
hickeyma commentedon Nov 23, 2022
It could be a number of things:
templatedirectory instead of thecrds/directory. If this is the case and the CRD chart is a dependency on the chart youhelm uninstallwith then it will remove the CRD.github-actions commentedon Feb 22, 2023
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
joejulian commentedon Feb 22, 2023
Question has been answered. Closing.