File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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, $envVar := dict "username" "username " "password" "password " "jdbcUrl" "jdbc.url " }}
82- - name : quarkus.datasource. {{ $envVar }}
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 }}
Original file line number Diff line number Diff line change @@ -1022,7 +1022,7 @@ tests:
10221022
10231023 - it : should set relational-jdbc persistence environment variables
10241024 set :
1025- persistence : { type: "relational-jdbc", relationalJdbc: { secret: { name: "polaris-persistence" } } }
1025+ persistence : { type: "relational-jdbc", dbKind: postgres, relationalJdbc: { secret: { name: "polaris-persistence" } } }
10261026 asserts :
10271027 - contains :
10281028 path : spec.template.spec.containers[0].env
@@ -1047,7 +1047,7 @@ tests:
10471047 valueFrom :
10481048 secretKeyRef :
10491049 name : polaris-persistence
1050- key : jdbc_url
1050+ key : jdbcUrl
10511051
10521052 - it : should configure volume for file logging
10531053 set :
You can’t perform that action at this time.
0 commit comments