Skip to content

Commit

Permalink
Change how we set imagePullSecrets for enterprise-gateway and admin-api.
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanGuedes committed Aug 5, 2024
1 parent bdfc86b commit 7b7d422
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,9 @@ spec:
mountPath: {{ .Values.minio.configPathmc }}certs
{{ end }}
{{- end }}
{{- if .Values.imagePullSecrets }}
{{- with .Values.imagePullSecrets}}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.adminApi.hostAliases }}
hostAliases:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ spec:
{{- toYaml .Values.enterpriseGateway.podSecurityContext | nindent 8 }}
initContainers:
{{- toYaml .Values.enterpriseGateway.initContainers | nindent 8 }}
{{- if .Values.imagePullSecrets }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.enterpriseGateway.hostAliases }}
hostAliases:
Expand Down

0 comments on commit 7b7d422

Please sign in to comment.