Skip to content

Commit 229d301

Browse files
authored
simplify syntax for imagePullSecrets
1 parent 13e45c4 commit 229d301

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ci/helm-chart/templates/deployment.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ spec:
2121
app.kubernetes.io/name: {{ include "code-server.name" . }}
2222
app.kubernetes.io/instance: {{ .Release.Name }}
2323
spec:
24-
{{- with .Values.imagePullSecrets }}
25-
imagePullSecrets:
26-
{{- toYaml . | nindent 8 }}
27-
{{- end }}
24+
imagePullSecrets: {{- toYaml .Values.imagePullSecrets | nindent 8 }}
2825
{{- if .Values.hostnameOverride }}
2926
hostname: {{ .Values.hostnameOverride }}
3027
{{- end }}

0 commit comments

Comments
 (0)