Uncomment ns and deploy part
Test localy and forgot to change it back to the real config
Sigh2
NS=kuberhealthy
# Create namespace
-#kubectl create namespace $NS
+kubectl create namespace $NS
# Create kuberhealthy crd etc.
-#kubectl create -f deploy/kuberhealthy.yaml
+kubectl create -f deploy/kuberhealthy.yaml
# Wait for kuberhealthy operator to start
JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}'; until kubectl -n $NS get pods -l app=kuberhealthy -o jsonpath="$JSONPATH" 2>&1 |grep -q "Ready=True"; do sleep 1;echo "waiting for kuberhealthy operator to be available"; kubectl get pods -n $NS; done
-for i in {1..100}
+for i in {1..60}
do
khsCount=$(oc get -n $NS khs -o yaml |grep OK |wc -l)
