File tree 2 files changed +20
-0
lines changed 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,11 @@ volumes:
98
98
secret:
99
99
secretName: { { .Values.coder.tls.secretName | quote } }
100
100
{ {- end } }
101
+ { {- if .Values.certs.secret.name } }
102
+ - name: { { .Values.certs.secret.name | quote } }
103
+ secret:
104
+ secretName: { { .Values.certs.secret.name | quote } }
105
+ { {- end } }
101
106
{ {- else } }
102
107
volumes: { { if and (not .Values.coder.tls.secretNames) (not .Values.coder.tls.secretName) } }[]{ { end } }
103
108
{ {- end } }
@@ -119,6 +124,11 @@ volumeMounts:
119
124
mountPath: "/etc/ssl/certs/coder/{ { .Values.coder.tls.secretName } }"
120
125
readOnly: true
121
126
{ {- end } }
127
+ { {- if .Values.certs.secret.name } }
128
+ - name: { { .Values.coder.certs.secret.name | quote } }
129
+ mountPath: /etc/ssl/certs/{ { .Values.certs.secret.key } }
130
+ subPath: { { .Values.certs.secret.key | quote } }
131
+ readOnly: true
122
132
{ {- else } }
123
133
volumeMounts: []
124
134
{ {- end } }
Original file line number Diff line number Diff line change 33
33
# It is recommended to keep this on if you are using Kubernetes templates
34
34
# within Coder.
35
35
workspacePerms : true
36
+ # coder.serviceAccount.annotations -- The Coder service account annotations.
37
+
36
38
37
39
# coder.env -- The environment variables to set for Coder. These can be used
38
40
# to configure all aspects of `coder server`. Please see `coder server --help`
@@ -68,6 +70,14 @@ coder:
68
70
# cpu: 100m
69
71
# memory: 128Mi
70
72
73
+ # coder.certs -- Certificate to mount inside the Coder pod (e.g. CA bundle).
74
+ certs :
75
+ secret :
76
+ # coder.certs.secret.name -- Name of the secret.
77
+ name : " "
78
+ # coder.certs.secret.key -- Key pointing to a certificate in the secret.
79
+ key : " "
80
+
71
81
# coder.service -- The Service object to expose for Coder.
72
82
service :
73
83
# coder.service.enable -- Whether to create the Service object.
You can’t perform that action at this time.
0 commit comments