Update volume job to resolve issues found during release testing
Compare changes
Files
8@@ -7,7 +7,7 @@ metadata:
@@ -33,13 +33,13 @@ metadata:
@@ -50,6 +50,16 @@ spec:
@@ -67,9 +77,21 @@ spec:
if ! id -u "twistlock" &>/dev/null; then kubectl scale --replicas=0 deployment/twistlock-console -n twistlock && while [[ $(kubectl get deployment twistlock-console -n twistlock -o jsonpath='{.status.readyReplicas}') -gt 0 ]]; do sleep 10; done && useradd -u 2674 twistlock && chown -R 2674:2674 /var/lib/twistlock /var/lib/twistlock-backup; fi
@@ -79,6 +101,13 @@ spec:
@@ -90,4 +119,4 @@ spec:
\ No newline at end of file