fix: separate HWLAB migration database URL
This commit is contained in:
@@ -500,7 +500,7 @@ exports:
|
||||
sourceSecretRef: platform-db/hwlab-nc01-production-db.env
|
||||
render:
|
||||
envKey: DATABASE_URL
|
||||
format: postgresql://$(HWLAB_NC01_PRODUCTION_DB_USER):$(HWLAB_NC01_PRODUCTION_DB_PASSWORD)@$(PGHOST):5432/$(HWLAB_NC01_PRODUCTION_DB_NAME)?sslmode=require&uselibpqcompat=true
|
||||
format: postgresql://$(HWLAB_NC01_PRODUCTION_DB_USER):$(HWLAB_NC01_PRODUCTION_DB_PASSWORD)@$(PGHOST):5432/$(HWLAB_NC01_PRODUCTION_DB_NAME)?sslmode=require
|
||||
variables:
|
||||
PGHOST: 10.42.0.1
|
||||
writeToSecretSource:
|
||||
@@ -511,6 +511,21 @@ exports:
|
||||
- scope: hwlab-production
|
||||
secret: hwlab-cloud-api-production-db
|
||||
key: DATABASE_URL
|
||||
- name: hwlab-nc01-production-migration-database-url
|
||||
sourceSecretRef: platform-db/hwlab-nc01-production-db.env
|
||||
render:
|
||||
envKey: MIGRATION_DATABASE_URL
|
||||
format: postgresql://$(HWLAB_NC01_PRODUCTION_DB_USER):$(HWLAB_NC01_PRODUCTION_DB_PASSWORD)@$(PGHOST):5432/$(HWLAB_NC01_PRODUCTION_DB_NAME)?sslmode=require&uselibpqcompat=true
|
||||
variables:
|
||||
PGHOST: 10.42.0.1
|
||||
writeToSecretSource:
|
||||
sourceRef: hwlab/nc01-production-cloud-api-db.env
|
||||
key: MIGRATION_DATABASE_URL
|
||||
mode: update-or-insert
|
||||
consumers:
|
||||
- scope: hwlab-production
|
||||
secret: hwlab-cloud-api-production-db
|
||||
key: MIGRATION_DATABASE_URL
|
||||
- name: hwlab-nc01-production-openfga-datastore-uri
|
||||
sourceSecretRef: platform-db/hwlab-nc01-production-db.env
|
||||
render:
|
||||
|
||||
Reference in New Issue
Block a user