0379d30f by Adam Heath

Add envFrom support.

1 parent c91e7447
...@@ -102,6 +102,9 @@ spec: ...@@ -102,6 +102,9 @@ spec:
102 name: {{ include "moqui.fullname" . }} 102 name: {{ include "moqui.fullname" . }}
103 - secretRef: 103 - secretRef:
104 name: {{ include "moqui.fullname" . }}-opensearch 104 name: {{ include "moqui.fullname" . }}-opensearch
105 {{- if .Values.envFrom }}
106 {{- .Values.envFrom | toYaml | nindent 12 }}
107 {{- end }}
105 env: 108 env:
106 - name: entity_ds_db_conf 109 - name: entity_ds_db_conf
107 value: 'postgres' 110 value: 'postgres'
......
...@@ -7,6 +7,7 @@ image: ...@@ -7,6 +7,7 @@ image:
7 repository: moqui/moquidemo 7 repository: moqui/moquidemo
8 tag: latest 8 tag: latest
9 9
10 envFrom: []
10 configMap: 11 configMap:
11 entity_ds_db_conf: "postgres" 12 entity_ds_db_conf: "postgres"
12 entity_ds_database: "moqui" 13 entity_ds_database: "moqui"
......