diff --git a/charts/ssi-credential-issuer/templates/cronjob-expiry-app.yaml b/charts/ssi-credential-issuer/templates/cronjob-expiry-app.yaml index 7665ef8e..6f9a2ffa 100644 --- a/charts/ssi-credential-issuer/templates/cronjob-expiry-app.yaml +++ b/charts/ssi-credential-issuer/templates/cronjob-expiry-app.yaml @@ -34,6 +34,10 @@ spec: template: spec: restartPolicy: OnFailure + {{- with .Values.credentialExpiry.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ include "issuer.fullname" . }}-{{ .Values.credentialExpiry.name }} securityContext: diff --git a/charts/ssi-credential-issuer/templates/cronjob-issuer-processes.yaml b/charts/ssi-credential-issuer/templates/cronjob-issuer-processes.yaml index 55a134ab..0b70f82d 100644 --- a/charts/ssi-credential-issuer/templates/cronjob-issuer-processes.yaml +++ b/charts/ssi-credential-issuer/templates/cronjob-issuer-processes.yaml @@ -34,6 +34,10 @@ spec: template: spec: restartPolicy: OnFailure + {{- with .Values.processesworker.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ include "issuer.fullname" . }}-{{ .Values.processesworker.name }} securityContext: diff --git a/charts/ssi-credential-issuer/templates/deployment-issuer-service.yaml b/charts/ssi-credential-issuer/templates/deployment-issuer-service.yaml index b2b3381b..317eac78 100644 --- a/charts/ssi-credential-issuer/templates/deployment-issuer-service.yaml +++ b/charts/ssi-credential-issuer/templates/deployment-issuer-service.yaml @@ -36,6 +36,10 @@ spec: labels: {{- include "issuer.selectorLabels" . | nindent 8 }} spec: + {{- with .Values.service.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ include "issuer.fullname" . }} securityContext: diff --git a/charts/ssi-credential-issuer/templates/job-issuer-migrations.yaml b/charts/ssi-credential-issuer/templates/job-issuer-migrations.yaml index b8a062ea..6d462739 100644 --- a/charts/ssi-credential-issuer/templates/job-issuer-migrations.yaml +++ b/charts/ssi-credential-issuer/templates/job-issuer-migrations.yaml @@ -31,6 +31,10 @@ spec: name: {{ include "issuer.fullname" . }}-{{ .Values.migrations.name }} spec: restartPolicy: Never + {{- with .Values.migrations.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ include "issuer.fullname" . }}-{{ .Values.migrations.name }} securityContext: diff --git a/charts/ssi-credential-issuer/values.yaml b/charts/ssi-credential-issuer/values.yaml index 50b55548..62c90f23 100644 --- a/charts/ssi-credential-issuer/values.yaml +++ b/charts/ssi-credential-issuer/values.yaml @@ -26,6 +26,7 @@ service: image: name: "docker.io/tractusx/ssi-credential-issuer-service" tag: "" + pullSecrets: [] imagePullPolicy: "IfNotPresent" # -- We recommend to review the default resource limits as this should a conscious choice. resources: @@ -75,6 +76,7 @@ migrations: image: name: "docker.io/tractusx/ssi-credential-issuer-migrations" tag: "" + pullSecrets: [] imagePullPolicy: "IfNotPresent" # -- We recommend to review the default resource limits as this should a conscious choice. resources: @@ -97,6 +99,7 @@ processesworker: image: name: "docker.io/tractusx/ssi-credential-issuer-processes-worker" tag: "" + pullSecrets: [] imagePullPolicy: "IfNotPresent" # -- We recommend to review the default resource limits as this should a conscious choice. resources: @@ -140,6 +143,7 @@ credentialExpiry: image: name: "docker.io/tractusx/ssi-credential-expiry-app" tag: "" + pullSecrets: [] imagePullPolicy: "IfNotPresent" # -- We recommend to review the default resource limits as this should a conscious choice. resources: