fixed volumeMounts for statefulset
This commit is contained in:
@@ -40,8 +40,14 @@ create the environment varable list
|
||||
resources:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
{{- if or .Values.volumeMounts .Values.volumeClaimTemplates }}
|
||||
volumeMounts:
|
||||
{{- end }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- range $v := .Values.volumeClaimTemplates }}
|
||||
- name: {{ $v.name }}
|
||||
mountPath: {{ $v.mountPath }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
Reference in New Issue
Block a user