Skip to content

Commit

Permalink
Merge pull request #61 from scaleoutsystems/develop
Browse files Browse the repository at this point in the history
STACKn v0.4.0 - Helm charts
  • Loading branch information
dstoyanova authored Jan 22, 2021
2 parents c977aea + 3855402 commit 98e0e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scaleout/stackn/templates/studio-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spec:
spec:
initContainers:
- name: wait-for-db
image: busybox:1.28
command: ['sh', '-c', "sleep 20;until nslookup {{ .Release.Name }}-studio-db.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local; do echo waiting for studio-db; sleep 3; done && sleep 3"]
image: postgres
command: ['sh', '-c', 'until pg_isready --host={{ .Release.Name }}-studio-db.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local --port=5432; do echo waiting for database; sleep 2; done;']
resources:
limits:
cpu: 100m
Expand Down

0 comments on commit 98e0e11

Please sign in to comment.