Simplify data volume mount

This commit is contained in:
Hossam Hammady 2020-10-12 12:50:43 +00:00
parent b4fd47b5af
commit 83465a2f4f

View File

@ -74,11 +74,7 @@ spec:
{{- end }} {{- end }}
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /home/coder/project mountPath: /home/coder
subPath: project
- name: data
mountPath: /home/coder/.local/share/code-server
subPath: code-server
{{- range .Values.extraConfigmapMounts }} {{- range .Values.extraConfigmapMounts }}
- name: {{ .name }} - name: {{ .name }}
mountPath: {{ .mountPath }} mountPath: {{ .mountPath }}