1306dd3f by Adam Heath

This feature is now called "generatedComponent".

1 parent 1e462153
......@@ -47,11 +47,11 @@ spec:
{{- include "moqui.storage-pvc-volume" (list . "log") | nindent 8 }}
{{- include "moqui.storage-pvc-volume" (list . "sessions") | nindent 8 }}
{{- include "moqui.storage-pvc-volume" (list . "txlog") | nindent 8 }}
{{- if .Values.customData }}
- name: custom-data
{{- if .Values.generatedComponent.enabled }}
- name: generated-component
projected:
sources:
{{ .Values.customData | toYaml | nindent 14 }}
{{ .Values.generatedComponent.sources | toYaml | nindent 14 }}
{{- end }}
initContainers:
......@@ -128,9 +128,9 @@ spec:
{{- include "moqui.storage-mount" (list . "log" "/opt/moqui/runtime/log") | nindent 12 }}
{{- include "moqui.storage-mount" (list . "sessions" "/opt/moqui/runtime/sessions") | nindent 12 }}
{{- include "moqui.storage-mount" (list . "txlog" "/opt/moqui/runtime/txlog") | nindent 12 }}
{{- if .Values.customData }}
- mountPath: /opt/moqui/runtime/ecomponent/custom-data/data
name: custom-data
{{- if .Values.generatedComponent.enabled }}
- mountPath: /opt/moqui/runtime/ecomponent/generated-component
name: generated-component
{{- end }}
{{- end }}
......
......@@ -21,7 +21,9 @@ extraEnvs: []
extraConfigMaps: []
extraSecrets: []
customData: []
generatedComponent:
enabled: false
sources: []
persistence:
db:
......