Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Nov 14, 2024
1 parent b88b02a commit dc1c30e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ spec:
{{- with (default .Values.global.image.pullSecretNames .Values.global.imagePullSecrets) }}
imagePullSecrets:
{{- range . }}
{{- if typeIs "string" . }}
- name: {{ . | quote }}
{{- if typeIs "slice" . }}
- name: {{ . | quote }}
{{- else if typeIsLike "map[string]interface {}" . }}
- name: {{ .name | quote }}
{{- else }}
- {{ . | toYaml | nindent 2 }}
- {{ . | toYaml }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
{{- with (default .Values.global.image.pullSecretNames .Values.global.imagePullSecrets) }}
imagePullSecrets:
{{- range . }}
{{- if typeIs "string" . }}
{{- if typeIs "slice" . }}
- name: {{ . | quote }}
{{- else if typeIsLike "map[string]interface {}" . }}
- name: {{ .name | quote }}
Expand Down

0 comments on commit dc1c30e

Please sign in to comment.