Skip to content

Commit 722cf36

Browse files
committed
fix(passport): check databaseReplicaUrl error
1 parent 7a00d51 commit 722cf36

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

charts/passport/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ env:
7373
secretKeyRef:
7474
name: passport-creds
7575
key: database-url
76-
{{- if (.Values.databaseUrl) }}
76+
{{- if (.Values.databaseReplicaUrl) }}
7777
- name: DRYCC_DATABASE_REPLICA_URL
7878
valueFrom:
7979
secretKeyRef:

charts/passport/templates/passport-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
- netcat
3636
- -v
3737
- -u
38-
- $(DRYCC_DATABASE_URL)
38+
- $(DRYCC_DATABASE_URL),$(DRYCC_DATABASE_REPLICA_URL)
3939
{{- include "passport.envs" . | indent 8 }}
4040
containers:
4141
- name: drycc-passport

0 commit comments

Comments
 (0)