Skip to content

Commit 093955c

Browse files
jiuuonadutra
andauthored
fix: Fix jdbc.url to camel case
Co-authored-by: Alexandre Dutra <adutra@users.noreply.github.com>
1 parent 990cfe5 commit 093955c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm/polaris/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ spec:
7878
{{- include "polaris.secretToEnv" (list .Values.storage.secret "awsSecretAccessKey" "polaris.storage.aws.secret-key") | indent 12 -}}
7979
{{- include "polaris.secretToEnv" (list .Values.storage.secret "gcpToken" "polaris.storage.gcp.token") | indent 12 -}}
8080
{{- if and ( eq .Values.persistence.type "relational-jdbc" ) .Values.persistence.relationalJdbc.secret.name }}
81-
{{- range $key := list "username" "password" "jdbc_url" }}
82-
- name: QUARKUS_DATASOURCE_{{ $key | upper }}
81+
{{- range $key, $envVar := dict "username" "username" "password" "password" "jdbcUrl" "jdbc.url" }}
82+
- name: quarkus.datasource.{{ $envVar }}
8383
valueFrom:
8484
secretKeyRef:
8585
name: {{ $.Values.persistence.relationalJdbc.secret.name }}

0 commit comments

Comments
 (0)