Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add imagePullSecrets #431

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ spec:
template:
spec:
restartPolicy: OnFailure
{{- with .Values.backend.portalmaintenance.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.portalmaintenance.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/cronjob-backend-processes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
template:
spec:
restartPolicy: OnFailure
{{- with .Values.backend.processesworker.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.processesworker.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/job-backend-portal-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
name: {{ include "portal.fullname" . }}-{{ .Values.backend.portalmigrations.name }}
spec:
restartPolicy: Never
{{- with .Values.backend.portalmigrations.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.portalmigrations.name }}
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
name: {{ include "portal.fullname" . }}-{{ .Values.backend.provisioningmigrations.name }}
spec:
restartPolicy: Never
{{- with .Values.backend.provisioningmigrations.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.provisioningmigrations.name }}
securityContext:
Expand Down
8 changes: 8 additions & 0 deletions charts/portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,8 @@ backend:
name: "docker.io/tractusx/portal-portal-migrations"
portalmigrationstag: 8bb3bfd9dc9c45b170516f5a2387e7b443bb8730
pullPolicy: "IfNotPresent"
# -- Pull secrets for private docker registry
pullSecrets: []
# -- We recommend to review the default resource limits as this should a conscious choice.
resources:
requests:
Expand All @@ -628,6 +630,8 @@ backend:
name: "docker.io/tractusx/portal-maintenance-service"
portalmaintenancetag: b9e89196cf538c76ebe4dc191c6684a017a32140
pullPolicy: "IfNotPresent"
# -- Pull secrets for private docker registry
pullSecrets: []
# -- We recommend to review the default resource limits as this should a conscious choice.
resources:
requests:
Expand Down Expand Up @@ -760,6 +764,8 @@ backend:
name: "docker.io/tractusx/portal-provisioning-migrations"
provisioningmigrationstag: bea374c345aa236eb6e2112734b8e3004c065647
pullPolicy: "IfNotPresent"
# -- Pull secrets for private docker registry
pullSecrets: []
# -- We recommend to review the default resource limits as this should a conscious choice.
resources:
requests:
Expand All @@ -776,6 +782,8 @@ backend:
name: "docker.io/tractusx/portal-processes-worker"
processesworkertag: 8bb3bfd9dc9c45b170516f5a2387e7b443bb8730
pullPolicy: "IfNotPresent"
# -- Pull secrets for private docker registry
pullSecrets: []
# -- We recommend to review the default resource limits as this should a conscious choice.
resources:
requests:
Expand Down