diff --git a/chart/templates/StatefulSet.surreal.yaml b/chart/templates/StatefulSet.surreal.yaml index 5c5d063..166eb6e 100644 --- a/chart/templates/StatefulSet.surreal.yaml +++ b/chart/templates/StatefulSet.surreal.yaml @@ -38,6 +38,9 @@ spec: ports: - containerPort: 8000 name: http + volumeMounts: + - name: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}-surrealdb" + mountPath: "/appdata" env: {{- range $env := .Values.env }} - name: "{{ $env.name }}"