Apply template on all keys of operatorconfiguration (#2608)

This commit is contained in:
Nick Douma 2024-05-10 16:30:29 +02:00 committed by GitHub
parent 5357062857
commit 8ee5231648
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 10 deletions

View File

@ -14,7 +14,7 @@ configuration:
users: users:
{{ tpl (toYaml .Values.configUsers) . | indent 4 }} {{ tpl (toYaml .Values.configUsers) . | indent 4 }}
major_version_upgrade: major_version_upgrade:
{{ toYaml .Values.configMajorVersionUpgrade | indent 4 }} {{ tpl (toYaml .Values.configMajorVersionUpgrade) . | indent 4 }}
kubernetes: kubernetes:
{{- if .Values.podPriorityClassName.name }} {{- if .Values.podPriorityClassName.name }}
pod_priority_class_name: {{ .Values.podPriorityClassName.name }} pod_priority_class_name: {{ .Values.podPriorityClassName.name }}
@ -23,23 +23,23 @@ configuration:
oauth_token_secret_name: {{ template "postgres-operator.fullname" . }} oauth_token_secret_name: {{ template "postgres-operator.fullname" . }}
{{ tpl (toYaml .Values.configKubernetes) . | indent 4 }} {{ tpl (toYaml .Values.configKubernetes) . | indent 4 }}
postgres_pod_resources: postgres_pod_resources:
{{ toYaml .Values.configPostgresPodResources | indent 4 }} {{ tpl (toYaml .Values.configPostgresPodResources) . | indent 4 }}
timeouts: timeouts:
{{ toYaml .Values.configTimeouts | indent 4 }} {{ tpl (toYaml .Values.configTimeouts) . | indent 4 }}
load_balancer: load_balancer:
{{ toYaml .Values.configLoadBalancer | indent 4 }} {{ tpl (toYaml .Values.configLoadBalancer) . | indent 4 }}
aws_or_gcp: aws_or_gcp:
{{ toYaml .Values.configAwsOrGcp | indent 4 }} {{ tpl (toYaml .Values.configAwsOrGcp) . | indent 4 }}
logical_backup: logical_backup:
{{ toYaml .Values.configLogicalBackup | indent 4 }} {{ tpl (toYaml .Values.configLogicalBackup) . | indent 4 }}
debug: debug:
{{ toYaml .Values.configDebug | indent 4 }} {{ tpl (toYaml .Values.configDebug) . | indent 4 }}
teams_api: teams_api:
{{ tpl (toYaml .Values.configTeamsApi) . | indent 4 }} {{ tpl (toYaml .Values.configTeamsApi) . | indent 4 }}
logging_rest_api: logging_rest_api:
{{ toYaml .Values.configLoggingRestApi | indent 4 }} {{ tpl (toYaml .Values.configLoggingRestApi) . | indent 4 }}
connection_pooler: connection_pooler:
{{ toYaml .Values.configConnectionPooler | indent 4 }} {{ tpl (toYaml .Values.configConnectionPooler) . | indent 4 }}
patroni: patroni:
{{ toYaml .Values.configPatroni | indent 4 }} {{ tpl (toYaml .Values.configPatroni) . | indent 4 }}
{{- end }} {{- end }}