270d7ac6 by Adam Heath

Add extraConfigMaps/extraSecrets options.

1 parent 332c7a5f
...@@ -6,3 +6,7 @@ metadata: ...@@ -6,3 +6,7 @@ metadata:
6 {{- include "moqui.labels" . | nindent 4 }} 6 {{- include "moqui.labels" . | nindent 4 }}
7 data: {{ .Values.configMap | toYaml | nindent 2 }} 7 data: {{ .Values.configMap | toYaml | nindent 2 }}
8 8
9 {{- range .Values.extraConfigMaps }}
10 ---
11 {{ . | toYaml }}
12 {{- end }}
......
...@@ -19,4 +19,8 @@ metadata: ...@@ -19,4 +19,8 @@ metadata:
19 {{- include "moqui.labels" . | nindent 4 }} 19 {{- include "moqui.labels" . | nindent 4 }}
20 stringData: 20 stringData:
21 elasticsearch_password: admin 21 elasticsearch_password: admin
22
23 {{- range .Values.extraSecrets }}
22 --- 24 ---
25 {{ . | toYaml }}
26 {{- end }}
......
...@@ -17,6 +17,9 @@ configMap: ...@@ -17,6 +17,9 @@ configMap:
17 17
18 extraEnvs: [] 18 extraEnvs: []
19 19
20 extraConfigMaps: []
21 extraSecrets: []
22
20 persistence: 23 persistence:
21 db: 24 db:
22 enabled: true 25 enabled: true
......