helm: add imagePullSecret for air-gapped cust's (#4700)

* helm: add imagePullSecret for air-gapped cust's

* helm: pullSecrets array

* fix: tag

* indentation

Co-authored-by: Dean Sheather <dean@deansheather.com>

* array

Co-authored-by: Dean Sheather <dean@deansheather.com>

Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
Eric Paulsen
2022-10-24 13:24:21 -04:00
committed by GitHub
co-authored by Dean Sheather
parent 0783ca3793
commit fba03aea6e
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -28,6 +28,10 @@ spec:
spec:
serviceAccountName: coder
restartPolicy: Always
{{- with .Values.coder.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
terminationGracePeriodSeconds: 60
containers:
- name: coder
+4
View File
@@ -17,6 +17,10 @@ coder:
# coder.image.pullPolicy -- The pull policy to use for the image. See:
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
pullPolicy: IfNotPresent
# coder.image.pullSecret -- The secret used for pulling the Coder image from
# a private registry.
pullSecrets: []
# - name: "pull-secret"
# coder.annotations -- The Deployment annotations. See:
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/