diff --git a/functions/kubernetes/charts/shuffle/templates/_helpers.tpl b/functions/kubernetes/charts/shuffle/templates/_helpers.tpl index 52628d2b..b78602bb 100644 --- a/functions/kubernetes/charts/shuffle/templates/_helpers.tpl +++ b/functions/kubernetes/charts/shuffle/templates/_helpers.tpl @@ -4,43 +4,3 @@ Return the proper image name (for the init container volume-permissions image) {{- define "shuffle.volumePermissions.image" -}} {{- include "common.images.image" ( dict "imageRoot" .Values.volumePermissions.image "global" .Values.global "chart" .Chart ) -}} {{- end -}} - - - - - - - - - - - - - -{{- if (not (empty $pullSecrets)) -}} -imagePullSecrets: -{{- range $pullSecrets | uniq }} - - name: {{ . }} -{{- end }} -{{- end }} -{{- end -}} - - - -{{- range .Values.global.imagePullSecrets -}} - {{- if kindIs "map" . -}} - {{- $pullSecrets = append $pullSecrets (include "common.tplvalues.render" (dict "value" .name "context" .)) -}} - {{- else -}} - {{- $pullSecrets = append $pullSecrets (include "common.tplvalues.render" (dict "value" . "context" .)) -}} - {{- end -}} -{{- end -}} - - - -{{- if (not (empty $pullSecrets)) -}} -imagePullSecrets: -{{- range $pullSecrets | uniq }} - - name: {{ . }} -{{- end }} -{{- end }} -{{- end -}}