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
2- Now remove it helm delete release k8sgpt/k8sgpt-operator
3-Try to install it one more time with helm helm install release k8sgpt/k8sgpt-operator -n k8sgpt-operator-system --create-namespace
4- An error is displaying complaining about the CRD definition "k8sgpt.core.k8sgpt.ai" in namespace test-k8spt exists and cannot be imported.
A workaround for this was modify the CRD Kubectl edit crd k8sgpt.core.k8sgpt.ai
and remove the finalizer instruction, once that was remove I Could be able to installed again.
Expected behaviour
The helm delete should be able to remove the CRD
Actual behaviour
CRD are note removed properly, so a new installation cannot be done.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
rubensalazarblq
changed the title
[Remove heml package is not working properly]: <Customer Resources Definition>
[Bug]: <Remove helm package is not working properly for CRD>
Oct 25, 2023
that sounds a bit odd considering that we put CRDs in templates/ and not crd/ folders; in which version was the issue occurring and do you still have issue deleting CRDs whilst helm uninstall operations ?
Checklist
Affected Components
K8sGPT Version
v0.3.18
Kubernetes Version
v1.28.2
Host OS and its Version
Ubuntu
Steps to reproduce
1- Follow the basic instructions to install using helm using a custom namespace
2- Now remove it
helm delete release k8sgpt/k8sgpt-operator
3-Try to install it one more time with helm
helm install release k8sgpt/k8sgpt-operator -n k8sgpt-operator-system --create-namespace
4- An error is displaying complaining about the CRD definition "k8sgpt.core.k8sgpt.ai" in namespace test-k8spt exists and cannot be imported.
A workaround for this was modify the CRD
Kubectl edit crd k8sgpt.core.k8sgpt.ai
and remove the finalizer instruction, once that was remove I Could be able to installed again.
Expected behaviour
The helm delete should be able to remove the CRD
Actual behaviour
CRD are note removed properly, so a new installation cannot be done.
Additional Information
No response
The text was updated successfully, but these errors were encountered: