Skip to content

Commit 6d8ed77

Browse files
authored
feat(helm-chart): Add support for extraSecretMounts subPath in helm-chart (#5961)
1 parent 4fb87f9 commit 6d8ed77

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ci/helm-chart/templates/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ spec:
102102
{{- range .Values.extraSecretMounts }}
103103
- name: {{ .name }}
104104
mountPath: {{ .mountPath }}
105+
subPath: {{ .subPath | default "" }}
105106
readOnly: {{ .readOnly }}
106107
{{- end }}
107108
{{- range .Values.extraVolumeMounts }}

ci/helm-chart/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ extraInitContainers: |
179179
extraSecretMounts: []
180180
# - name: secret-files
181181
# mountPath: /etc/secrets
182+
# subPath: private.key # (optional)
182183
# secretName: code-server-secret-files
183184
# readOnly: true
184185

0 commit comments

Comments
 (0)