Move entity_ds_password into a top-level secret stanza.
Showing
2 changed files
with
4 additions
and
2 deletions
... | @@ -7,7 +7,7 @@ metadata: | ... | @@ -7,7 +7,7 @@ metadata: |
7 | labels: | 7 | labels: |
8 | {{- include "moqui.labels" . | nindent 4 }} | 8 | {{- include "moqui.labels" . | nindent 4 }} |
9 | stringData: | 9 | stringData: |
10 | entity_ds_password: {{ .Values.configMap.entity_ds_password }} | 10 | entity_ds_password: {{ .Values.secret.entity_ds_password }} |
11 | {{- end }} | 11 | {{- end }} |
12 | 12 | ||
13 | apiVersion: v1 | 13 | apiVersion: v1 | ... | ... |
... | @@ -13,9 +13,11 @@ configMap: | ... | @@ -13,9 +13,11 @@ configMap: |
13 | entity_ds_host: external-postgres | 13 | entity_ds_host: external-postgres |
14 | entity_ds_port: "5432" | 14 | entity_ds_port: "5432" |
15 | entity_ds_user: "moqui" | 15 | entity_ds_user: "moqui" |
16 | entity_ds_password: "iuqom" | ||
17 | elasticsearch_user: "admin" | 16 | elasticsearch_user: "admin" |
18 | 17 | ||
18 | secret: | ||
19 | entity_ds_password: "iuqom" | ||
20 | |||
19 | checkDsConnection: | 21 | checkDsConnection: |
20 | enabled: true | 22 | enabled: true |
21 | 23 | ... | ... |
-
Please register or sign in to post a comment