diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 693a86a..46dc69c 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.7.0 +version: 3.8.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/cluster.yaml b/charts/postgres-cluster/templates/cluster.yaml index 20969a9..408c461 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -32,15 +32,17 @@ spec: affinity: {{- toYaml . | nindent 4 }} {{- end }} + {{- if .Values.cluster.priorityClassName }} priorityClassName: {{ .Values.cluster.priorityClassName }} + {{- end }} primaryUpdateMethod: {{ .Values.cluster.primaryUpdateMethod }} primaryUpdateStrategy: {{ .Values.cluster.primaryUpdateStrategy }} logLevel: {{ .Values.cluster.logLevel }} postgresql: + {{- if eq .Values.type "timescaledb" }} shared_preload_libraries: - {{- if eq .Values.type "timescaledb" }} - timescaledb - {{- end }} + {{- end }} {{- with .Values.cluster.postgresql.parameters }} parameters: {{- toYaml . | nindent 6 }}