diff --git a/charts/ssi-asr/templates/deployment-registry-service.yaml b/charts/ssi-asr/templates/deployment-registry-service.yaml index c646255..4e9a9ce 100644 --- a/charts/ssi-asr/templates/deployment-registry-service.yaml +++ b/charts/ssi-asr/templates/deployment-registry-service.yaml @@ -36,6 +36,10 @@ spec: labels: {{- include "asr.selectorLabels" . | nindent 8 }} spec: + {{- with .Values.service.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ include "asr.fullname" . }} securityContext: diff --git a/charts/ssi-asr/templates/job-registry-migrations.yaml b/charts/ssi-asr/templates/job-registry-migrations.yaml index fb8a681..dc16a50 100644 --- a/charts/ssi-asr/templates/job-registry-migrations.yaml +++ b/charts/ssi-asr/templates/job-registry-migrations.yaml @@ -31,6 +31,10 @@ spec: name: {{ include "asr.fullname" . }}-{{ .Values.migrations.name }} spec: restartPolicy: Never + {{- with .Values.migrations.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ include "asr.fullname" . }}-{{ .Values.migrations.name }} securityContext: diff --git a/charts/ssi-asr/values.yaml b/charts/ssi-asr/values.yaml index 97fff23..4074e4d 100644 --- a/charts/ssi-asr/values.yaml +++ b/charts/ssi-asr/values.yaml @@ -21,6 +21,7 @@ service: image: name: "docker.io/tractusx/ssi-authority-schema-registry-service" tag: "" + pullSecrets: [] imagePullPolicy: "IfNotPresent" # -- We recommend to review the default resource limits as this should a conscious choice. resources: @@ -50,6 +51,7 @@ migrations: image: name: "docker.io/tractusx/ssi-authority-schema-registry-migrations" tag: "" + pullSecrets: [] imagePullPolicy: "IfNotPresent" # -- We recommend to review the default resource limits as this should a conscious choice. resources: