Skip to content

Commit 3dd81fe

Browse files
committed
Merge branch 'main' into helm-ca-certs
merge in main
2 parents fd5f3e6 + fba03ae commit 3dd81fe

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

helm/templates/coder.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ spec:
2828
spec:
2929
serviceAccountName: coder
3030
restartPolicy: Always
31+
{{- with .Values.coder.image.pullSecrets }}
32+
imagePullSecrets:
33+
{{- toYaml . | nindent 8 }}
34+
{{- end }}
3135
terminationGracePeriodSeconds: 60
3236
containers:
3337
- name: coder

helm/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ coder:
1717
# coder.image.pullPolicy -- The pull policy to use for the image. See:
1818
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
1919
pullPolicy: IfNotPresent
20+
# coder.image.pullSecret -- The secret used for pulling the Coder image from
21+
# a private registry.
22+
pullSecrets: []
23+
# - name: "pull-secret"
2024

2125
# coder.annotations -- The Deployment annotations. See:
2226
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/

0 commit comments

Comments
 (0)