mirror of https://git.tuxpa.in/a/code-server.git
feat: Add support for imagePullSecrets to Helm chart (#4838)
* add support for imagePullSecrets * Add doc and example value for imagePullSecrets * simplify syntax for imagePullSecrets Co-authored-by: Joe Previte <jjprevite@gmail.com>
This commit is contained in:
parent
c9c5c54cda
commit
3ad618db97
|
@ -21,6 +21,7 @@ spec:
|
||||||
app.kubernetes.io/name: {{ include "code-server.name" . }}
|
app.kubernetes.io/name: {{ include "code-server.name" . }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
|
imagePullSecrets: {{- toYaml .Values.imagePullSecrets | nindent 8 }}
|
||||||
{{- if .Values.hostnameOverride }}
|
{{- if .Values.hostnameOverride }}
|
||||||
hostname: {{ .Values.hostnameOverride }}
|
hostname: {{ .Values.hostnameOverride }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -9,7 +9,12 @@ image:
|
||||||
tag: '4.0.2'
|
tag: '4.0.2'
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
|
# Specifies one or more secrets to be used when pulling images from a
|
||||||
|
# private container repository
|
||||||
|
# https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
# - name: registry-creds
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
hostnameOverride: ""
|
hostnameOverride: ""
|
||||||
|
|
Loading…
Reference in New Issue