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 imagePullScrets #396

Merged
merged 7 commits into from
Aug 5, 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 @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.backend.administration.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.backend.administration.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.administration.name }}
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.backend.appmarketplace.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.backend.appmarketplace.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.appmarketplace.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/deployment-backend-notification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.backend.notification.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.backend.notification.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.notification.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/deployment-backend-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.backend.registration.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.backend.registration.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.registration.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/deployment-backend-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.backend.services.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.backend.services.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.backend.services.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/deployment-frontend-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.frontend.assets.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.frontend.assets.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.frontend.assets.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/deployment-frontend-portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.frontend.portal.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.frontend.portal.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.frontend.portal.name }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/deployment-frontend-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
app: {{ include "portal.fullname" . }}-{{ .Values.frontend.registration.name }}
{{- include "portal.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.frontend.registration.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "portal.fullname" . }}-{{ .Values.frontend.registration.name }}
securityContext:
Expand Down
16 changes: 16 additions & 0 deletions charts/portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ frontend:
name: "docker.io/tractusx/portal-frontend"
portaltag: 37cd674aa1324f0fbd9c7662b5e43fde89e1a748
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 @@ -143,6 +145,8 @@ frontend:
name: "docker.io/tractusx/portal-frontend-registration"
registrationtag: 064a96674c239433e85d2599b17a95c3434e9bb9
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 @@ -157,6 +161,8 @@ frontend:
name: "docker.io/tractusx/portal-assets"
assetstag: 587cfb232860b5dc221aefc60758dd81c00f53bb
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 @@ -293,6 +299,8 @@ backend:
name: "docker.io/tractusx/portal-registration-service"
registrationservicetag: 294eea9b508022239c633dc84022116b1ba3694d
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 @@ -342,6 +350,8 @@ backend:
name: "docker.io/tractusx/portal-administration-service"
administrationservicetag: 294eea9b508022239c633dc84022116b1ba3694d
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 @@ -460,6 +470,8 @@ backend:
name: "docker.io/tractusx/portal-marketplace-app-service"
appmarketplaceservicetag: 294eea9b508022239c633dc84022116b1ba3694d
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 @@ -634,6 +646,8 @@ backend:
name: "docker.io/tractusx/portal-notification-service"
notificationservicetag: 294eea9b508022239c633dc84022116b1ba3694d
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 @@ -661,6 +675,8 @@ backend:
name: "docker.io/tractusx/portal-services-service"
servicesservicetag: 294eea9b508022239c633dc84022116b1ba3694d
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