Skip to content

Commit

Permalink
Fix startup when using env vars
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael da Fonseca <[email protected]>
  • Loading branch information
rsafonseca committed Feb 7, 2025
1 parent c160f62 commit afbc0c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions charts/reports-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ spec:
{{- end }}
- --etcdEndpoints=https://etcd-0.etcd.{{ $.Release.Namespace }}:2379,https://etcd-1.etcd.{{ $.Release.Namespace }}:2379,https://etcd-2.etcd.{{ $.Release.Namespace }}:2379
{{- else }}
- --dbhost=${DB_HOST}
- --dbport=${DB_PORT}
- --dbuser=${DB_USER}
- --dbpassword=${DB_PASSWORD}
- --dbname=${DB_DATABASE}
- --dbhost=$(DB_HOST)
- --dbport=$(DB_PORT)
- --dbuser=$(DB_USER)
- --dbpassword=$(DB_PASSWORD)
- --dbname=$(DB_DATABASE)
- --dbsslmode={{ .Values.config.db.sslmode }}
- --dbsslrootcert={{ .Values.config.db.sslrootcert }}
- --dbsslkey={{ .Values.config.db.sslkey }}
Expand Down

0 comments on commit afbc0c2

Please sign in to comment.