Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: mount TLS secret in helm chart
  • Loading branch information
deansheather committed Aug 27, 2022
commit 18d3a242e606a5ae52f26fb0784b6e798cfe14c8
13 changes: 13 additions & 0 deletions helm/templates/coder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,16 @@ spec:
httpGet:
path: /api/v2/buildinfo
port: http
{{- if .Values.coder.tls.secretName }}
volumeMounts:
- name: tls
mountPath: /etc/ssl/certs/coder
readOnly: true
{{- end }}

{{- if .Values.coder.tls.secretName }}
volumes:
- name: tls
secret:
secretName: {{ .Values.coder.tls.secretName | quote }}
{{- end }}