Skip to content

Commit

Permalink
fix isready host check
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherJMiller committed Dec 14, 2024
1 parent d4996f1 commit 0884735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/helpers/_arr_deployment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
- 'sh'
- '-e'
- '-c'
- 'until pg_isready -U "postgres" -h {{ .Release.Name }}-postgresql -p 5432; do sleep 1; done'
- 'until pg_isready -U "postgres" -h {{ $db_host }} -p 5432; do sleep 1; done'
{{- include "mega-media.initDb" (merge (dict "database" (printf "%s_main" .selected.name) "db_config" $db_dict) .) | nindent 8 }}
{{- include "mega-media.initDb" (merge (dict "database" (printf "%s_log" .selected.name) "db_config" $db_dict) .) | nindent 8 }}
{{- include "mega-media.initDb" (merge (dict "database" (printf "%s_cache" .selected.name) "db_config" $db_dict) .) | nindent 8 }}
Expand Down

0 comments on commit 0884735

Please sign in to comment.