2021-01-17 01:09:41 +00:00
|
|
|
{{- if eq .Values.configTarget "ConfigMap" }}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ template "postgres-operator.fullname" . }}
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
|
|
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
data:
|
|
|
|
{{- if .Values.podPriorityClassName }}
|
|
|
|
pod_priority_class_name: {{ .Values.podPriorityClassName }}
|
|
|
|
{{- end }}
|
|
|
|
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
|
|
|
{{ toYaml .Values.configGeneral | indent 2 }}
|
|
|
|
{{ toYaml .Values.configUsers | indent 2 }}
|
2021-04-13 08:02:12 +00:00
|
|
|
{{ toYaml .Values.configMajorVersionUpgrade | indent 2 }}
|
2021-01-17 01:09:41 +00:00
|
|
|
{{ toYaml .Values.configKubernetes | indent 2 }}
|
|
|
|
{{ toYaml .Values.configTimeouts | indent 2 }}
|
|
|
|
{{ toYaml .Values.configLoadBalancer | indent 2 }}
|
|
|
|
{{ toYaml .Values.configAwsOrGcp | indent 2 }}
|
|
|
|
{{ toYaml .Values.configLogicalBackup | indent 2 }}
|
|
|
|
{{ toYaml .Values.configDebug | indent 2 }}
|
|
|
|
{{ toYaml .Values.configLoggingRestApi | indent 2 }}
|
|
|
|
{{ toYaml .Values.configTeamsApi | indent 2 }}
|
|
|
|
{{ toYaml .Values.configConnectionPooler | indent 2 }}
|
|
|
|
{{- end }}
|