Skip to content

Commit

Permalink
Read password from secret
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Jul 17, 2023
1 parent aad601d commit d293e4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion charts/housewatch/templates/deployment-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ spec:
- name: CLICKHOUSE_USER
value: "{{ .Values.clickhouse.user }}"
- name: CLICKHOUSE_PASSWORD
value: "{{ .Values.clickhouse.password }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.clickhouse.secretName }}"
key: "{{ .Values.clickhouse.secretPasswordKey }}"
- name: CLICKHOUSE_CLUSTER
value: {{ .Values.clickhouse.cluster }}
- name: CLICKHOUSE_SECURE
Expand Down

0 comments on commit d293e4e

Please sign in to comment.