Skip to content

Commit

Permalink
Helm add image puller
Browse files Browse the repository at this point in the history
No description

---
Co-authored-by: ykuc <[email protected]>

Pull Request resolved: #134
commit_hash:c1096b6fc5daf90b28725bf56ea150a4d3f13533
  • Loading branch information
ykuc authored and robot-piglet committed Dec 11, 2024
1 parent bb03139 commit 7857f44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm/transfer/templates/_transfer_spec.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{{- define "transfer.spec" -}}
serviceAccountName: {{ .Values.serviceAccount.externalName | default $.Release.Name }}
{{- if .Values.image.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.image.imagePullSecrets }}
{{- printf "- name: %s" .name | nindent 2 }}
{{- end }}
{{- end }}
containers:
- name: transfer
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default $.Chart.AppVersion }}"
Expand Down

0 comments on commit 7857f44

Please sign in to comment.