Skip to content

Commit

Permalink
fix: busybox does not support brace expressions (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
kramuenke authored Apr 4, 2024
1 parent 98a547b commit 9968b49
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 {1..30}; do sleep 1; if [ -e /etc/ssl/certs/space/server.pem ]; then exit 0; fi; done; exit 1"]
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"]
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 {1..30}; do sleep 1; if [ -e /etc/ssl/certs/space/ca.pem ]; then exit 0; fi; done; exit 1"]
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"]
volumeMounts:
- mountPath: /etc/ssl/certs/space
name: space-cert
Expand Down

0 comments on commit 9968b49

Please sign in to comment.