diff options
author | 2021-11-24 14:01:31 +0000 | |
---|---|---|
committer | 2021-12-29 16:06:00 +0000 | |
commit | a9c22862a4c7b05ef995f53094c83d17b9a11ff7 (patch) | |
tree | 6020cbecc7322f2be279596fd4d06621b48bc63d /kubernetes | |
parent | 50c285b56ae6198420ea3afcfe37086b8a4e9fcf (diff) |
[A1POLICYMANAGEMENT] Fix missing imagePullSecrets
Added imagePullSecrets and changed image definition for envsubstImage
Issue-ID: OOM-2885
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I355301329d24c8f1eef96aa2212c67f524c10520
(cherry picked from commit 3f5a6146ef11265c925c61dc5211ddeceb44292d)
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/a1policymanagement/templates/statefulset.yaml | 4 |
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 }} |