Skip to content

Commit 39784e7

Browse files
authored
add support for imagePullSecrets
1 parent 25b1340 commit 39784e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/helm-chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ 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 }}
2428
{{- if .Values.hostnameOverride }}
2529
hostname: {{ .Values.hostnameOverride }}
2630
{{- end }}

0 commit comments

Comments
 (0)