addded conf_path pvc

This commit is contained in:
Ariel Sosnovsky committed 2023-04-21 15:52:33 -04:00
1 parent 1a31ab1fdd
commit 97c47cbe20
3 files changed
+26 -1

No files matched your search

@@ -21,6 +21,11 @@ spec:
persistentVolumeClaim:
claimName: {{ .Values.persistence.media_path.claimName }}
{{- end }}
{{- if .Values.persistence.conf_path.enabled }}
- name: conf-path
persistentVolumeClaim:
claimName: {{ .Values.persistence.conf_path.claimName }}
{{- end }}
containers:
- name: main
image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}"
@@ -39,3 +44,7 @@ spec:
- name: media-path
mountPath: {{ .Values.conf.media_path }}
{{ end }}
{{- if .Values.persistence.conf_path.enabled }}
- name: conf-path
mountPath: {{ .Values.conf.conf_path }}
{{ end }}
+4 -1
View File
@@ -6,6 +6,9 @@ persistence:
media_path:
enabled: false
claimName: ""
conf_path:
enabled: false
claimName: ""
resources:
requests:
@@ -16,7 +19,7 @@ resources:
cpu: "2"
conf:
server_name: motionEye
conf_path: /etc/motioneye
conf_path: /etc/motioneye/extra/conf
run_path: /var/run
log_path: /var/log
media_path: /var/lib/motioneye
+13
View File
@@ -181,6 +181,9 @@ apps:
media_path:
enabled: true
claimName: {{ .Values.storage.motioneyeMedia.name }}
conf_path:
enabled: true
claimName: {{ .Values.storage.motioneyeConf.name }}
infrastructureCharts:
cert-manager:
@@ -291,3 +294,13 @@ storage:
storage: 100Gi
requests:
storage: 10Gi
motioneyeConf:
name: motioneye-conf
namespace: apps-motioneye
accessModes:
- ReadWriteMany
resources:
limits:
storage: 1Gi
requests:
storage: 100Mi