We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79c23c commit de99c8aCopy full SHA for de99c8a
bootstrap/ic-user-projects/create-projects-and-resources-job.yaml
@@ -24,6 +24,7 @@ spec:
24
- |-
25
# Get user count
26
user_count=$(oc get namespaces | grep showroom | wc -l)
27
+ USER_BATCH_SIZE=5
28
29
echo -n 'Waiting for minio-root-user secret'
30
while [ -z "\$(oc get secret -n ic-shared-minio minio-root-user -oname 2>/dev/null)" ]; do
@@ -582,7 +583,9 @@ spec:
582
583
- 'https://github.com/rh-aiservices-bu/parasol-insurance.git'
584
EOF
585
- sleep 20
586
+ if (( i % USER_BATCH_SIZE == 0 )); then
587
+ sleep 20
588
+ fi
589
590
done
591
restartPolicy: Never
0 commit comments