diff --git a/kube/deploy/apps/gotosocial/ks.yaml b/kube/deploy/apps/gotosocial/ks.yaml index 9544968c..6010e7d9 100644 --- a/kube/deploy/apps/gotosocial/ks.yaml +++ b/kube/deploy/apps/gotosocial/ks.yaml @@ -32,8 +32,8 @@ spec: healthCheckExprs: - apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource - current: status.conditions.all(s, s.reason == "WaitingForManual" || s.reason == "WaitingForSchedule") && status.latestMoverStatus.result == "Successful" - inProgress: status.conditions.all(s, s.reason == "SyncInProgress") + current: status.conditions.filter(s, s.status == "False").all(s, s.reason == "WaitingForManual" || s.reason == "WaitingForSchedule") && status.latestMoverStatus.result == "Successful" + inProgress: status.conditions.filter(s, s.status == "True").all(s, s.reason == "SyncInProgress") failed: status.latestMoverStatus.result == "Failed" # TODO: add failed conditions postBuild: substitute: