Skip to content

Commit 8ee5231

Browse files
authored
Apply template on all keys of operatorconfiguration (#2608)
1 parent 5357062 commit 8ee5231

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

charts/postgres-operator/templates/operatorconfiguration.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ configuration:
1414
users:
1515
{{ tpl (toYaml .Values.configUsers) . | indent 4 }}
1616
major_version_upgrade:
17-
{{ toYaml .Values.configMajorVersionUpgrade | indent 4 }}
17+
{{ tpl (toYaml .Values.configMajorVersionUpgrade) . | indent 4 }}
1818
kubernetes:
1919
{{- if .Values.podPriorityClassName.name }}
2020
pod_priority_class_name: {{ .Values.podPriorityClassName.name }}
@@ -23,23 +23,23 @@ configuration:
2323
oauth_token_secret_name: {{ template "postgres-operator.fullname" . }}
2424
{{ tpl (toYaml .Values.configKubernetes) . | indent 4 }}
2525
postgres_pod_resources:
26-
{{ toYaml .Values.configPostgresPodResources | indent 4 }}
26+
{{ tpl (toYaml .Values.configPostgresPodResources) . | indent 4 }}
2727
timeouts:
28-
{{ toYaml .Values.configTimeouts | indent 4 }}
28+
{{ tpl (toYaml .Values.configTimeouts) . | indent 4 }}
2929
load_balancer:
30-
{{ toYaml .Values.configLoadBalancer | indent 4 }}
30+
{{ tpl (toYaml .Values.configLoadBalancer) . | indent 4 }}
3131
aws_or_gcp:
32-
{{ toYaml .Values.configAwsOrGcp | indent 4 }}
32+
{{ tpl (toYaml .Values.configAwsOrGcp) . | indent 4 }}
3333
logical_backup:
34-
{{ toYaml .Values.configLogicalBackup | indent 4 }}
34+
{{ tpl (toYaml .Values.configLogicalBackup) . | indent 4 }}
3535
debug:
36-
{{ toYaml .Values.configDebug | indent 4 }}
36+
{{ tpl (toYaml .Values.configDebug) . | indent 4 }}
3737
teams_api:
3838
{{ tpl (toYaml .Values.configTeamsApi) . | indent 4 }}
3939
logging_rest_api:
40-
{{ toYaml .Values.configLoggingRestApi | indent 4 }}
40+
{{ tpl (toYaml .Values.configLoggingRestApi) . | indent 4 }}
4141
connection_pooler:
42-
{{ toYaml .Values.configConnectionPooler | indent 4 }}
42+
{{ tpl (toYaml .Values.configConnectionPooler) . | indent 4 }}
4343
patroni:
44-
{{ toYaml .Values.configPatroni | indent 4 }}
44+
{{ tpl (toYaml .Values.configPatroni) . | indent 4 }}
4545
{{- end }}

0 commit comments

Comments
 (0)