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
|
- op: add
|
||||||
path: /metadata/annotations/helmcharts.helm.cattle.io~1unmanaged
|
path: /metadata/annotations/helmcharts.helm.cattle.io~1unmanaged
|
||||||
value: "true"
|
value: "true"
|
||||||
wait: true
|
|
||||||
- name: Remove the Cilium HelmChart CR
|
- name: Remove the Cilium HelmChart CR
|
||||||
kubernetes.core.k8s:
|
kubernetes.core.k8s:
|
||||||
kubeconfig: /etc/rancher/k3s/k3s.yaml
|
kubeconfig: /etc/rancher/k3s/k3s.yaml
|
||||||
@@ -116,7 +115,16 @@
|
|||||||
kind: HelmChart
|
kind: HelmChart
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
state: absent
|
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
|
# 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
|
# is needed because k3s has an awesome "feature" to always re-deploy them when the k3s
|
||||||
|
|||||||
Reference in new issue
Block a user