From b5391579795dac3c0173cef56ed1a6e74492be07 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sun, 11 Jun 2023 20:34:12 -0400 Subject: [PATCH] fix: use `wait: true` on cilium helmchart removal --- ansible/playbooks/cluster-installation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/playbooks/cluster-installation.yml b/ansible/playbooks/cluster-installation.yml index b1bd6ec7..35d20bf4 100644 --- a/ansible/playbooks/cluster-installation.yml +++ b/ansible/playbooks/cluster-installation.yml @@ -108,6 +108,7 @@ - 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 @@ -115,6 +116,7 @@ kind: HelmChart namespace: kube-system state: absent + wait: true # 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