aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas-geissler <andreas-geissler@telekom.de>2021-07-19 17:46:31 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-08-03 16:05:09 +0000
commit0ac914bafbb5b204592b78998fc7f52e37a670d7 (patch)
treea392c9e083ea74dbc7f3f6b68598afd2cc4199df
parentbe3baadbcf424fab7c1dd1916a46558a6e9daeb1 (diff)
[PLATFORM] Added imagePullSecrets to common template files
Added the missing definition for imagePullSecrets in the deployment.yaml of oom-cert-service, cmpv2-cert-provider to support the registryGenerator Issue-ID: OOM-2792 Signed-off-by: andreas-geissler <andreas-geissler@telekom.de> Change-Id: I6cec6b223515de649606f1daba1dd920a8348213 (cherry picked from commit 5389da8a1a915f5423df99d97b3c6ebee16916ec)
-rw-r--r--kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml2
-rw-r--r--kubernetes/platform/components/oom-cert-service/templates/deployment.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml b/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml
index 3a993734e4..d4b0d0ca8c 100644
--- a/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml
+++ b/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml
@@ -33,6 +33,8 @@ spec:
labels:
control-plane: controller-manager
spec:
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
initContainers:
{{ include "common.readinessCheck.waitFor" . | indent 6 | trim }}
containers:
diff --git a/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml b/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml
index c4d7440b20..63609a8e4a 100644
--- a/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml
+++ b/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml
@@ -23,6 +23,8 @@ spec:
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
volumes:
{{- if .Values.global.addTestingComponents }}
- name: cmp-servers-template-volume