Skip to content

Commit

Permalink
chore: shorten wait times for secret mounting (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
kramuenke authored Apr 23, 2024
1 parent 4b78b67 commit 91439ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/codezero/templates/lb/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
initContainers:
- name: wait-for-cert
image: public.ecr.aws/docker/library/busybox:1.36
command: ["sh", "-c", "for i in `seq 1 60`; do sleep 0.5; if [ -e /etc/ssl/certs/space/server.pem ]; then exit 0; fi; done; exit 1"]
command: ["sh", "-c", "for i in `seq 1 20`; do sleep 0.5; if [ -e /etc/ssl/certs/space/server.pem ]; then exit 0; fi; done; exit 1"]
volumeMounts:
- mountPath: /etc/ssl/certs/space
name: space-cert
Expand Down
2 changes: 1 addition & 1 deletion charts/codezero/templates/orchestrator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
initContainers:
- name: wait-for-cert
image: public.ecr.aws/docker/library/busybox:1.36
command: ["sh", "-c", "for i in `seq 1 60`; do sleep 0.5; if [ -e /etc/ssl/certs/space/ca.pem ]; then exit 0; fi; done; exit 1"]
command: ["sh", "-c", "for i in `seq 1 20`; do sleep 0.5; if [ -e /etc/ssl/certs/space/ca.pem ]; then exit 0; fi; done; exit 1"]
volumeMounts:
- mountPath: /etc/ssl/certs/space
name: space-cert
Expand Down

0 comments on commit 91439ac

Please sign in to comment.