Skip to content

Commit

Permalink
Fixed issue 388
Browse files Browse the repository at this point in the history
Issue was because YAML output for this section of the cluster.yaml was

parameters:
  parameters: {}
  pg_hba: []
  pg_indent: []

Whereas it should be

parameters: {}
pg_hba: {}
pg_indent: {}

but parameters is a helm keyword so it would consume all the keywords in the parameters step before pg_hba or pg_indent were called.

This simple re-ordering should fix the issue (and has for me in testing)

Signed-off-by: Tobias Ward <[email protected]>
  • Loading branch information
MoonMoon2 committed Sep 16, 2024
1 parent 3680ee5 commit 8ce9160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ spec:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.cluster.postgresql }}
parameters:
{{- toYaml .parameters | nindent 6 }}
pg_hba:
{{- toYaml .pg_hba | nindent 6 }}
pg_ident:
{{- toYaml .pg_ident | nindent 6 }}
parameters:
{{- toYaml .parameters | nindent 6 }}
{{ end }}

managed:
Expand Down

0 comments on commit 8ce9160

Please sign in to comment.