aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/etcd/templates
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/etcd/templates
parent2f15241c9449a56bfff6606071e3c5c538cd2a90 (diff)
parentf84cccd0fad42df9fc4c590ea93a2f164f3f3071 (diff)
Merge "[COMMON] Added imagePullSecrets to common template files with some fix"
Diffstat (limited to 'kubernetes/common/etcd/templates')
-rw-r--r--kubernetes/common/etcd/templates/statefulset.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/etcd/templates/statefulset.yaml b/kubernetes/common/etcd/templates/statefulset.yaml
index 48c8b6d0cc..c8c0ffa0b2 100644
--- a/kubernetes/common/etcd/templates/statefulset.yaml
+++ b/kubernetes/common/etcd/templates/statefulset.yaml
@@ -48,6 +48,8 @@ spec:
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
containers:
- name: {{ include "common.name" . }}
image: {{ include "repositoryGenerator.googleK8sRepository" . }}/{{ .Values.image }}