blob: e329d13853565eff4cfc2e33e70f42477b6de460 [file] [log] [blame]
Giorgi Lekveishvili8c99d622023-05-30 14:40:50 +04001{{- if (include "postgresql.readReplicas.createExtendedConfigmap" .) }}
2apiVersion: v1
3kind: ConfigMap
4metadata:
5 name: {{ printf "%s-extended-configuration" (include "postgresql.readReplica.fullname" .) }}
6 namespace: {{ .Release.Namespace | quote }}
7 labels: {{- include "common.labels.standard" . | nindent 4 }}
8 app.kubernetes.io/component: read
9 {{- if .Values.commonLabels }}
10 {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
11 {{- end }}
12 {{- if .Values.commonAnnotations }}
13 annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
14 {{- end }}
15data:
16 override.conf: |-
17 {{- include "common.tplvalues.render" ( dict "value" .Values.readReplicas.extendedConfiguration "context" $ ) | nindent 4 }}
18{{- end }}