[bitnami/postgresql-ha] Conditional rendering of .Values.pgpool.priorityClassName (#2935)

* Conditional rendering of .Values.pgpool.priorityClassName

* Conditional rendering of .Values.postgresql.priorityClassName

* Conditional rendering of .Values.postgresql.priorityClassName

* Conditional rendering of .Values.postgresql.priorityClassName

* Chart version bump

Co-authored-by: ttinkr <thomas.fellinger@nts.eu>
Co-authored-by: Jose Antonio Carmona <joancafom@icloud.com>
This commit is contained in:
ttinkr
2020-07-21 12:25:01 +02:00
committed by GitHub
co-authored by ttinkr Jose Antonio Carmona
parent 0a06d579e8
commit 53db7d033f
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: postgresql-ha
version: 3.4.4
version: 3.4.5
appVersion: 11.8.0
description: Chart for PostgreSQL with HA architecture (using Replication Manager (repmgr) and Pgpool).
keywords:
@@ -36,7 +36,9 @@ spec:
{{- if .Values.pgpool.nodeSelector }}
nodeSelector: {{- include "postgresql-ha.tplValue" (dict "value" .Values.pgpool.nodeSelector "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.pgpool.priorityClassName }}
priorityClassName: {{ .Values.pgpool.priorityClassName }}
{{- end }}
{{- if .Values.pgpool.tolerations }}
tolerations: {{- include "postgresql-ha.tplValue" (dict "value" .Values.pgpool.tolerations "context" $) | nindent 8 }}
{{- end }}
@@ -36,7 +36,9 @@ spec:
{{- if .Values.postgresql.nodeSelector }}
nodeSelector: {{- include "postgresql-ha.tplValue" (dict "value" .Values.postgresql.nodeSelector "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.postgresql.priorityClassName }}
priorityClassName: {{ .Values.postgresql.priorityClassName }}
{{- end }}
{{- if .Values.postgresql.tolerations }}
tolerations: {{- include "postgresql-ha.tplValue" (dict "value" .Values.postgresql.tolerations "context" $) | nindent 8 }}
{{- end }}