-
Notifications
You must be signed in to change notification settings - Fork 205
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
Documentation says uninstalling chart uninstalls CRDs, but it does not #3416
Comments
This is by design, both for Helm and for ASO. The documentation for Helm reads:
With ASO, it's a little more complicated - the CRDs are not included with the chart at all. So, even if Helm supported CRD removal, it wouldn't know about them, and wouldn't remove them. ASO has so many CRDs that their total size is too large for Helm to manage. Instead the Operator installs and upgrades them itself (though you can take over this process yourself). See CRD Mangement in ASO for more information. For similar reasons to Helm, minimizing risks, we have not built any functionality to automatically remove CRDs. |
Let me know if you have any questions about this behaviour. |
Yes, thank you @theunrepentantgeek, the process you are describing seems usual to me. I think the documentation https://azure.github.io/azure-service-operator/guide/uninstalling/ needs a fix. This part misled me:
|
You are right @antoineozenne-at-leocare - that documentation is wrong! I've updated the title of this issue and retagged it as a documentation issue, which we will fix. |
Good catch @antoineozenne-at-leocare, we definitely need to fix our docs. |
Version of Azure Service Operator
2.3.0
Describe the bug
When uninstalling the chart, the CRD are not uninstalled (contrary to what the documentation indicates).
To Reproduce
Steps to reproduce the behavior:
Install the chart with the following commands:
kubectl create namespace azureserviceoperator-system --dry-run=client -o yaml | kubectl apply -f - helm upgrade --install --namespace azureserviceoperator-system azureserviceoperator-system aso2/azure-service-operator --version 2.3.0 --values myvalues.yaml
The
myvalues.yaml
content is the following:Deploy some resources.
Delete these resources.
Uninstall the chart with the following commands:
See the CRD are always here:
Expected behavior
All the CRD are uninstalled.
The text was updated successfully, but these errors were encountered: