Skip to content

Commit ee182a0

Browse files
Romain JACQUETrjacquet31
authored andcommitted
fix: the volumeClaimTemplates must be named 'data-volume'
it's kubernetes that will template this name given the name of the statefulset
1 parent a711184 commit ee182a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/mongodb-operated/templates/mongdb-community.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
{{- end }}
4646
volumeClaimTemplates:
4747
- metadata:
48-
name: data-volume-{{ .Release.Name }}
48+
name: data-volume
4949
spec:
5050
accessModes: ["ReadWriteOnce"]
5151
storageClassName: {{ .Values.pvc.data.storageClass }}

0 commit comments

Comments
 (0)