aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-11-29 18:55:36 +0000
committerGerrit Code Review <gerrit@onap.org>2021-11-29 18:55:36 +0000
commitd0c9cc42cdde916c010523228e9f20acd96b2338 (patch)
tree45a169e4fc80c93d3ac4a79450cb8aa2f976aee4 /kubernetes
parent09e9875bd082c067b251189456e821c6ce785bc8 (diff)
parent3f5a6146ef11265c925c61dc5211ddeceb44292d (diff)
Merge "[A1POLICYMANAGEMENT] Fix missing imagePullSecrets"
Diffstat (limited to 'kubernetes')
-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 }}