332c7a5f by Adam Heath

Add extraEnvs support.

1 parent 24fb3db8
......@@ -183,3 +183,9 @@ spec:
{{- end }}
{{- end }}
{{- define "moqui.extraEnvs" }}
{{- if .Values.extraEnvs }}
{{ .Values.extraEnvs | toYaml }}
{{- end }}
{{- end }}
......
......@@ -111,6 +111,7 @@ spec:
optional: false
- name: elasticsearch_url
value: {{ include "moqui.opensearch-url" . }}
{{- include "moqui.extraEnvs" . | nindent 12 }}
volumeMounts:
- mountPath: /opt/moqui/runtime/lib
name: runtime-lib
......
......@@ -15,6 +15,8 @@ configMap:
entity_ds_user: "moqui"
elasticsearch_user: "admin"
extraEnvs: []
persistence:
db:
enabled: true
......