diff --git a/helm/vernemq/templates/statefulset.yaml b/helm/vernemq/templates/statefulset.yaml index b37c633..5db8120 100644 --- a/helm/vernemq/templates/statefulset.yaml +++ b/helm/vernemq/templates/statefulset.yaml @@ -177,7 +177,9 @@ spec: {{- end }} {{- if .Values.persistentVolume.enabled }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: data annotations: {{- range $key, $value := .Values.persistentVolume.annotations }}