summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2022-01-10 13:20:26 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-10 13:20:26 +0000
commitf25898995abed7dee4465a5282e1da5330675399 (patch)
tree0f99061dda88745d26f45a71e65b9126defc8757
parentf1143ab021d09e93aa8bc1d73e2039bbfa0bdb0e (diff)
parenta9c22862a4c7b05ef995f53094c83d17b9a11ff7 (diff)
Merge "[A1POLICYMANAGEMENT] Fix missing imagePullSecrets" into istanbul
-rw-r--r--kubernetes/a1policymanagement/templates/statefulset.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/a1policymanagement/templates/statefulset.yaml b/kubernetes/a1policymanagement/templates/statefulset.yaml
index 1d25f31e7f..0114b30158 100644
--- a/kubernetes/a1policymanagement/templates/statefulset.yaml
+++ b/kubernetes/a1policymanagement/templates/statefulset.yaml
@@ -28,6 +28,8 @@ spec:
metadata:
labels: {{- include "common.labels" . | nindent 8 }}
spec:
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
initContainers: {{ include "common.certInitializer.initContainer" . | nindent 6 }}
- name: {{ include "common.name" . }}-bootstrap-config
image: {{ include "repositoryGenerator.image.envsubst" . }}
@@ -58,7 +60,7 @@ spec:
name: config
containers:
- name: {{ include "common.name" . }}-update-config
- image: "{{ .Values.global.envsubstImage }}"
+ image: {{ include "repositoryGenerator.image.envsubst" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
securityContext:
runAsGroup: {{ .Values.groupID }}