summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/postgres/templates/_deployment.tpl
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-13 11:54:01 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-13 11:54:01 +0000
commitffbb82ee45ba888a4e4a543c789fb10acf01f3bb (patch)
tree95e0829b05ab06a651c39d18aa5853e2eeab70cb /kubernetes/common/postgres/templates/_deployment.tpl
parent2f15241c9449a56bfff6606071e3c5c538cd2a90 (diff)
parentf84cccd0fad42df9fc4c590ea93a2f164f3f3071 (diff)
Merge "[COMMON] Added imagePullSecrets to common template files with some fix"
Diffstat (limited to 'kubernetes/common/postgres/templates/_deployment.tpl')
-rw-r--r--kubernetes/common/postgres/templates/_deployment.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/postgres/templates/_deployment.tpl b/kubernetes/common/postgres/templates/_deployment.tpl
index 7d04501f24..d93d401ebc 100644
--- a/kubernetes/common/postgres/templates/_deployment.tpl
+++ b/kubernetes/common/postgres/templates/_deployment.tpl
@@ -42,6 +42,8 @@ spec:
release: {{ include "common.release" $dot }}
name: "{{ index $dot.Values "container" "name" $pgMode }}"
spec:
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" $dot }}-docker-registry-key"
initContainers:
- command:
- sh