Skip to content

Commit

Permalink
Fix variable names
Browse files Browse the repository at this point in the history
Even though I was prompted to doublecheck variable names, I've mixed up
variables accepted by application and variables set by application...
  • Loading branch information
mutantcornholio committed Aug 23, 2023
1 parent 772f273 commit c2cd952
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/substrate-faucet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: substrate-faucet
description: A Helm chart to deploy substrate-faucet
type: application
version: 3.0.0
version: 3.0.1
maintainers:
- name: Parity
url: https://github.com/paritytech/helm-charts
Expand Down
9 changes: 4 additions & 5 deletions charts/substrate-faucet/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ data:
{{- range $key, $val := .Values.faucet.config }}
{{ $key }}: {{ $val | quote }}
{{- end }}
POSTGRESQL_HOST: "{{ .Release.Name }}-postgresql"
POSTGRESQL_PORT: "5432"
POSTGRESQL_USERNAME: postgres
POSTGRESQL_DATABASE: postgres
POSTGRESQL_SSLMODE: disable
SMF_CONFIG_DB_HOST: "{{ .Release.Name }}-postgresql"
SMF_CONFIG_DB_PORT: "5432"
SMF_CONFIG_DB_USERNAME: postgres
SMF_CONFIG_DB_DATABASE_NAME: faucet
{{- end }}
2 changes: 1 addition & 1 deletion charts/substrate-faucet/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ data:
{{- range $key, $val := .Values.faucet.secret }}
{{ $key }}: {{ $val | b64enc }}
{{- end }}
POSTGRESQL_PASSWORD: {{ .Values.postgresql.global.postgresql.auth.postgresPassword | b64enc | quote -}}
SMF_CONFIG_DB_PASSWORD: {{ .Values.postgresql.global.postgresql.auth.postgresPassword | b64enc | quote -}}
{{- end }}

0 comments on commit c2cd952

Please sign in to comment.