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: support global image pull secrets #1445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions applications/job/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ spec:
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- else if and .Values.global .Values.global.image .Values.global.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.global.image.imagePullSecret }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
Expand Down
2 changes: 1 addition & 1 deletion applications/web/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ keywords:
- web
name: web
type: application
version: 0.186.0
version: 0.203.1
3 changes: 3 additions & 0 deletions applications/web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ spec:
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- else if and .Values.global .Values.global.image .Values.global.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.global.image.imagePullSecret }}
{{- end }}
initContainers:
# this is used for ensuring the kubelet is ready on new nodes, and can injected any downward API keys
Expand Down
3 changes: 3 additions & 0 deletions applications/worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ spec:
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- else if and .Values.global .Values.global.image .Values.global.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.global.image.imagePullSecret }}
{{- end }}
initContainers:
# this is used for ensuring the kubelet is ready on new nodes, and can injected any downward API keys
Expand Down