mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-18 01:25:58 +10:00
[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:
co-authored by
ttinkr
Jose Antonio Carmona
parent
0a06d579e8
commit
53db7d033f
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user