Skip to content

Commit 6d95c50

Browse files
committed
style(passport): database convention over configuration
1 parent 08a9bbd commit 6d95c50

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

charts/passport/templates/_helpers.tpl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,8 @@ env:
8585
secretKeyRef:
8686
name: database-creds
8787
key: password
88-
- name: DRYCC_DATABASE_NAME
89-
valueFrom:
90-
secretKeyRef:
91-
name: database-creds
92-
key: passport-database-name
9388
- name: DRYCC_DATABASE_URL
94-
value: "postgres://$(DRYCC_DATABASE_USER):$(DRYCC_DATABASE_PASSWORD)@$(DRYCC_DATABASE_SERVICE_HOST):$(DRYCC_DATABASE_SERVICE_PORT)/$(DRYCC_DATABASE_NAME)"
89+
value: "postgres://$(DRYCC_DATABASE_USER):$(DRYCC_DATABASE_PASSWORD)@$(DRYCC_DATABASE_SERVICE_HOST):$(DRYCC_DATABASE_SERVICE_PORT)/passport"
9590
{{- end }}
9691
{{- if eq .Values.global.redisLocation "on-cluster"}}
9792
- name: DRYCC_REDIS_ADDRS

0 commit comments

Comments
 (0)