Skip to content

Commit

Permalink
use values.yaml when testing for postgres readiness (#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsalow authored Jun 19, 2021
1 parent f32a5f5 commit 5114b4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/gcp/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3136,7 +3136,7 @@ spec:
command:
- sh
- -c
- until pg_isready -h postgres -p 5432; do echo waiting for database; sleep 2; done;
- until pg_isready -h -p ; do echo waiting for database; sleep 2; done;
- command:
- flyteadmin
- --config
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/admin/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
command:
- sh
- -c
- until pg_isready -h postgres -p 5432; do echo waiting for database; sleep 2; done;
- until pg_isready -h {{ .Values.db.database.host }} -p {{ .Values.db.database.port }}; do echo waiting for database; sleep 2; done;
{{- end }}
- command:
- flyteadmin
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/postgres/service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.minio.enabled }}
{{- if .Values.postgres.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand Down

0 comments on commit 5114b4f

Please sign in to comment.