Skip to content

Commit

Permalink
Add imagePullSecrets support (#123)
Browse files Browse the repository at this point in the history
* Add imagePullSecrets support

---------

Co-authored-by: A <andrei.noga@sva.de>
  • Loading branch information
truestory1 and A committed Jan 22, 2024
1 parent 383bf8a commit 95988e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion charts/aws-mountpoint-s3-csi-driver/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ spec:
{{- with .Values.node.tolerations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
initContainers:
- name: install-mountpoint
image: {{ printf "%s%s:%s" (default "" .Values.image.containerRegistry) .Values.image.repository (default (printf "v%s" .Chart.AppVersion) (toString .Values.image.tag)) }}
Expand Down Expand Up @@ -185,4 +191,4 @@ spec:
type: Directory
{{- with .Values.node.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

0 comments on commit 95988e2

Please sign in to comment.