This commit is contained in:
Philippe Caseiro 2024-09-26 16:54:45 +02:00
parent 150371bae1
commit e1a22496bd
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
- op: add - op: add
path: "/spec/template/spec/containers/0/env/-" path: "/spec/jobTemplate/spec/template/spec/containers/0/env/-"
value: value:
name: HYDRA_DATABASE_USER name: HYDRA_DATABASE_USER
valueFrom: valueFrom:
@ -7,7 +7,7 @@
name: hydra-postgres-app name: hydra-postgres-app
key: username key: username
- op: add - op: add
path: "/spec/template/spec/containers/0/env/-" path: "/spec/jobTemplate/spec/template/spec/containers/0/env/-"
value: value:
name: HYDRA_DATABASE_PASSWORD name: HYDRA_DATABASE_PASSWORD
valueFrom: valueFrom:
@ -15,7 +15,7 @@
name: hydra-postgres-app name: hydra-postgres-app
key: password key: password
- op: add - op: add
path: "/spec/template/spec/containers/0/env/-" path: "/spec/jobTemplate/spec/template/spec/containers/0/env/-"
value: value:
name: HYDRA_DATABASE_SERVICE_NAME name: HYDRA_DATABASE_SERVICE_NAME
valueFrom: valueFrom:
@ -23,7 +23,7 @@
name: hydra-postgres-app name: hydra-postgres-app
key: host key: host
- op: add - op: add
path: "/spec/template/spec/containers/0/env/-" path: "/spec/jobTemplate/spec/template/spec/containers/0/env/-"
value: value:
name: DSN name: DSN
value: "postgres://$(HYDRA_DATABASE_USER):$(HYDRA_DATABASE_PASSWORD)@$(HYDRA_DATABASE_SERVICE_NAME):5432/hydra?sslmode=disable" value: "postgres://$(HYDRA_DATABASE_USER):$(HYDRA_DATABASE_PASSWORD)@$(HYDRA_DATABASE_SERVICE_NAME):5432/hydra?sslmode=disable"