aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common/templates/_postgres.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/common/templates/_postgres.tpl')
-rw-r--r--kubernetes/common/common/templates/_postgres.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/common/common/templates/_postgres.tpl b/kubernetes/common/common/templates/_postgres.tpl
index d21d8c740d..dcd17c0312 100644
--- a/kubernetes/common/common/templates/_postgres.tpl
+++ b/kubernetes/common/common/templates/_postgres.tpl
@@ -87,8 +87,7 @@ spec:
{{- if .Values.postgresOperator.imagePostgres }}
image: {{ .Values.postgresOperator.imagePostgres | quote }}
{{- end }}
- imagePullSecrets:
- - name: {{ include "common.namespace" . }}-docker-registry-key
+ {{- include "common.imagePullSecrets" . | nindent 2 }}
postgresVersion: {{ $dot.Values.postgresOperator.postgresVersion }}
instances:
- name: {{ default "instance1" .Values.postgresOperator.instanceName | quote }}