diff --git a/ansible/playbooks/cluster-installation.yml b/ansible/playbooks/cluster-installation.yml index 35d20bf4..4e46d43a 100644 --- a/ansible/playbooks/cluster-installation.yml +++ b/ansible/playbooks/cluster-installation.yml @@ -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