fix: k3s not cleaning up the cilium helmchart
This commit is contained in:
1 parent
b539157979
commit
3116a10429
1 file changed
+10
-2
@@ -108,7 +108,6 @@
|
||||
- op: add
|
||||
path: /metadata/annotations/helmcharts.helm.cattle.io~1unmanaged
|
||||
value: "true"
|
||||
wait: true
|
||||
- name: Remove the Cilium HelmChart CR
|
||||
kubernetes.core.k8s:
|
||||
kubeconfig: /etc/rancher/k3s/k3s.yaml
|
||||
@@ -116,7 +115,16 @@
|
||||
kind: HelmChart
|
||||
namespace: kube-system
|
||||
state: absent
|
||||
wait: true
|
||||
- name: Remove finializers on the Cilium HelmChart
|
||||
kubernetes.core.k8s:
|
||||
kubeconfig: /etc/rancher/k3s/k3s.yaml
|
||||
name: cilium
|
||||
kind: HelmChart
|
||||
namespace: kube-system
|
||||
state: patched
|
||||
definition:
|
||||
metadata:
|
||||
finalizers: []
|
||||
|
||||
# Cleaning up certain manifests from the /var/lib/rancher/k3s/server/manifests directory
|
||||
# is needed because k3s has an awesome "feature" to always re-deploy them when the k3s
|
||||
|
||||
Reference in new issue
Block a user