1306dd3f by Adam Heath

This feature is now called "generatedComponent".

1 parent 1e462153
...@@ -47,11 +47,11 @@ spec: ...@@ -47,11 +47,11 @@ spec:
47 {{- include "moqui.storage-pvc-volume" (list . "log") | nindent 8 }} 47 {{- include "moqui.storage-pvc-volume" (list . "log") | nindent 8 }}
48 {{- include "moqui.storage-pvc-volume" (list . "sessions") | nindent 8 }} 48 {{- include "moqui.storage-pvc-volume" (list . "sessions") | nindent 8 }}
49 {{- include "moqui.storage-pvc-volume" (list . "txlog") | nindent 8 }} 49 {{- include "moqui.storage-pvc-volume" (list . "txlog") | nindent 8 }}
50 {{- if .Values.customData }} 50 {{- if .Values.generatedComponent.enabled }}
51 - name: custom-data 51 - name: generated-component
52 projected: 52 projected:
53 sources: 53 sources:
54 {{ .Values.customData | toYaml | nindent 14 }} 54 {{ .Values.generatedComponent.sources | toYaml | nindent 14 }}
55 {{- end }} 55 {{- end }}
56 56
57 initContainers: 57 initContainers:
...@@ -128,9 +128,9 @@ spec: ...@@ -128,9 +128,9 @@ spec:
128 {{- include "moqui.storage-mount" (list . "log" "/opt/moqui/runtime/log") | nindent 12 }} 128 {{- include "moqui.storage-mount" (list . "log" "/opt/moqui/runtime/log") | nindent 12 }}
129 {{- include "moqui.storage-mount" (list . "sessions" "/opt/moqui/runtime/sessions") | nindent 12 }} 129 {{- include "moqui.storage-mount" (list . "sessions" "/opt/moqui/runtime/sessions") | nindent 12 }}
130 {{- include "moqui.storage-mount" (list . "txlog" "/opt/moqui/runtime/txlog") | nindent 12 }} 130 {{- include "moqui.storage-mount" (list . "txlog" "/opt/moqui/runtime/txlog") | nindent 12 }}
131 {{- if .Values.customData }} 131 {{- if .Values.generatedComponent.enabled }}
132 - mountPath: /opt/moqui/runtime/ecomponent/custom-data/data 132 - mountPath: /opt/moqui/runtime/ecomponent/generated-component
133 name: custom-data 133 name: generated-component
134 {{- end }} 134 {{- end }}
135 {{- end }} 135 {{- end }}
136 136
......
...@@ -21,7 +21,9 @@ extraEnvs: [] ...@@ -21,7 +21,9 @@ extraEnvs: []
21 21
22 extraConfigMaps: [] 22 extraConfigMaps: []
23 extraSecrets: [] 23 extraSecrets: []
24 customData: [] 24 generatedComponent:
25 enabled: false
26 sources: []
25 27
26 persistence: 28 persistence:
27 db: 29 db:
......