Skip to content

Commit

Permalink
fix: k3s not cleaning up the cilium helmchart
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p committed Jun 12, 2023
1 parent b539157 commit 3116a10
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ansible/playbooks/cluster-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,23 @@
- 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
name: cilium
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
Expand Down

0 comments on commit 3116a10

Please sign in to comment.