mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
feat(helm-chart): Add support for extraSecretMounts subPath in helm-chart (#5961)
This commit is contained in:
parent
4fb87f920f
commit
6d8ed77fb0
2 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ spec:
|
||||||
{{- range .Values.extraSecretMounts }}
|
{{- range .Values.extraSecretMounts }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
mountPath: {{ .mountPath }}
|
mountPath: {{ .mountPath }}
|
||||||
|
subPath: {{ .subPath | default "" }}
|
||||||
readOnly: {{ .readOnly }}
|
readOnly: {{ .readOnly }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range .Values.extraVolumeMounts }}
|
{{- range .Values.extraVolumeMounts }}
|
||||||
|
|
|
||||||
|
|
@ -179,6 +179,7 @@ extraInitContainers: |
|
||||||
extraSecretMounts: []
|
extraSecretMounts: []
|
||||||
# - name: secret-files
|
# - name: secret-files
|
||||||
# mountPath: /etc/secrets
|
# mountPath: /etc/secrets
|
||||||
|
# subPath: private.key # (optional)
|
||||||
# secretName: code-server-secret-files
|
# secretName: code-server-secret-files
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue