Add a secret that contains the default OS username/password.
Showing
3 changed files
with
12 additions
and
0 deletions
... | @@ -60,6 +60,8 @@ spec: | ... | @@ -60,6 +60,8 @@ spec: |
60 | envFrom: | 60 | envFrom: |
61 | - configMapRef: | 61 | - configMapRef: |
62 | name: {{ include "moqui.fullname" . }} | 62 | name: {{ include "moqui.fullname" . }} |
63 | - secretRef: | ||
64 | name: {{ include "moqui.fullname" . }}-opensearch | ||
63 | env: | 65 | env: |
64 | - name: entity_ds_db_conf | 66 | - name: entity_ds_db_conf |
65 | value: 'postgres' | 67 | value: 'postgres' | ... | ... |
... | @@ -10,3 +10,12 @@ stringData: | ... | @@ -10,3 +10,12 @@ stringData: |
10 | entity_ds_password: {{ .Values.configMap.entity_ds_password }} | 10 | entity_ds_password: {{ .Values.configMap.entity_ds_password }} |
11 | {{- end }} | 11 | {{- end }} |
12 | 12 | ||
13 | apiVersion: v1 | ||
14 | kind: Secret | ||
15 | metadata: | ||
16 | name: {{ include "moqui.fullname" . }}-opensearch | ||
17 | labels: | ||
18 | {{- include "moqui.labels" . | nindent 4 }} | ||
19 | stringData: | ||
20 | elasticsearch_password: admin | ||
21 | ... | ... |
... | @@ -13,6 +13,7 @@ configMap: | ... | @@ -13,6 +13,7 @@ configMap: |
13 | entity_ds_port: "5432" | 13 | entity_ds_port: "5432" |
14 | entity_ds_user: "moqui" | 14 | entity_ds_user: "moqui" |
15 | entity_ds_password: "iuqom" | 15 | entity_ds_password: "iuqom" |
16 | elasticsearch_user: "admin" | ||
16 | 17 | ||
17 | checkDsConnection: | 18 | checkDsConnection: |
18 | enabled: true | 19 | enabled: true | ... | ... |
-
Please register or sign in to post a comment