Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArgoCD diff on postgresql keys #441

Merged
merged 11 commits into from
Dec 17, 2024
Prev Previous commit
Next Next commit
Add condition to add shared_preload_libraries
Signed-off-by: Mohammad Bozorgmehr <[email protected]>
  • Loading branch information
Mohammad Bozorgmehr committed Nov 8, 2024
commit 26b3c44d81e0dd7002596bcb880fe4df1d53d839
2 changes: 2 additions & 0 deletions charts/cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
@@ -52,13 +52,15 @@ spec:
name: {{ . }}
{{ end }}
postgresql:
{{- if or (eq .Values.type "timescaledb") (not (empty .Values.cluster.postgresql.shared_preload_libraries)) }}
shared_preload_libraries:
{{- if eq .Values.type "timescaledb" }}
- timescaledb
{{- end }}
{{- with .Values.cluster.postgresql.shared_preload_libraries }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- end }}
{{- with .Values.cluster.postgresql.pg_hba }}
pg_hba:
{{- toYaml . | nindent 6 }}