From ccf2bdfce95d71c6fa9b54c1b23894905b22e4f1 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Thu, 8 Feb 2024 11:54:53 +0800 Subject: [PATCH] fix(suc/talos): k8s wait Ceph cluster if all Ceph clusters are healthy, surely k8s will also be healthy... right? --- .../core/system-upgrade-controller/plans/talos/app/talos.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml b/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml index 1abf5cdf..43926800 100644 --- a/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml +++ b/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml @@ -25,7 +25,7 @@ spec: args: # if Ceph is completely healthy, surely k8s is healthy, right? - "wait" - | - --for=jsonpath='{.status.ceph.health}'='HEALTH_OK' + --for=jsonpath=.status.ceph.health=HEALTH_OK - "cephcluster" - "--all" - "--all-namespaces"