diff --git a/k8s/apps/motioneye/templates/deployment.yaml b/k8s/apps/motioneye/templates/deployment.yaml index e0eb9da..7bb44ba 100644 --- a/k8s/apps/motioneye/templates/deployment.yaml +++ b/k8s/apps/motioneye/templates/deployment.yaml @@ -17,7 +17,7 @@ spec: name: {{ .Release.Name }}-configs defaultMode: 420 {{- if .Values.persistence.media_path.enabled }} - - name: media_path + - name: media-path persistentVolumeClaim: claimName: {{ .Values.persistence.media_path.claimName }} {{- end }} @@ -36,6 +36,6 @@ spec: mountPath: /etc/motioneye/motioneye.conf subPath: "motioneye.conf" {{- if .Values.persistence.media_path.enabled }} - - name: media_path + - name: media-path mountPath: {{ .Values.conf.media_path }} {{ end }}