Add support for Ceph based PV for chartmuseum and dashboard
[it/dep.git] / ric-infra / 15-Chartmuseum / helm / chartmuseum / templates / job-save-certs.yaml
index 01f5ac6..6253d53 100644 (file)
@@ -22,9 +22,12 @@ metadata:
 spec:
   template:
     spec:
+      imagePullSecrets:
+        - name: {{ include "common.repositoryCred" . }}
       containers:
       - name: cert-copy
-        image: alpine
+        image: {{ include "common.repository" . }}/{{ .Values.chartmuseum.job.image.name }}:{{ .Values.chartmuseum.job.image.tag }}
+        imagePullPolicy: {{ include "common.pullPolicy" . }}
         command: [ "/bin/sh","-c","cp -rL /var/run/helmcerts/..data/tls.crt /var/run/certs-copy/helmtls.crt"]
         #        command: ["tail", "-f", "/dev/null"]
         volumeMounts: