You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ββ Step 1: Wait for StackRox Operator ββββββββββββββββββββββββββ
23
28
echo "β³ [1/5] Waiting for StackRox operator CRD..."
24
29
while [ true ]; do oc get crd centrals.platform.stackrox.io; if [ $? -eq 0 ]; then break; fi ; sleep 5s; done
25
30
echo "β [1/5] StackRox CRD available"
26
31
27
32
# ββ Step 2: Wait for Central pods βββββββββββββββββββββββββββββββ
28
33
echo "β³ [2/5] Waiting for Central pods..."
29
-
while test 0 == $(oc -n {{ index .Values "stackrox-chart" "stackrox" "namespace" }} get pod -l app.kubernetes.io/component=central -o name 2>/dev/null | wc -l); do sleep 5; done
30
-
oc -n {{ index .Values "stackrox-chart" "stackrox" "namespace" }} wait pod -l app.kubernetes.io/component=central --for=condition=Ready --timeout=200s
34
+
while test 0 == $(oc -n ${STACKROX_NS} get pod -l app.kubernetes.io/component=central -o name 2>/dev/null | wc -l); do sleep 5; done
35
+
oc -n ${STACKROX_NS} wait pod -l app.kubernetes.io/component=central --for=condition=Ready --timeout=200s
31
36
if [ $? != 0 ]; then
32
37
echo "π [2/5] Timed out waiting for Central pods";
33
38
exit 1;
@@ -37,8 +42,8 @@ spec:
37
42
38
43
# ββ Step 3: Get StackRox credentials ββββββββββββββββββββββββββββ
0 commit comments