- op: add path: "/spec/template/spec/containers/0/env/-" value: name: HYDRA_DATABASE_USER valueFrom: secretKeyRef: name: hydra-postgres-app key: username - op: add path: "/spec/template/spec/containers/0/env/-" value: name: HYDRA_DATABASE_PASSWORD valueFrom: secretKeyRef: name: hydra-postgres-app key: password - op: add path: "/spec/template/spec/containers/0/env/-" value: name: HYDRA_DATABASE_SERVICE_NAME valueFrom: secretKeyRef: name: hydra-postgres-app key: host - op: add path: "/spec/template/spec/containers/0/env/-" value: name: DSN value: "postgres://$(HYDRA_DATABASE_USER):$(HYDRA_DATABASE_PASSWORD)@$(HYDRA_DATABASE_SERVICE_NAME):5432/hydra?sslmode=disable&max_conns=$(HYDRA_DATABASE_MAX_CONN)&max_idle_conns=$(HYDRA_DATABASE_MAX_IDLE_CONNS)&max_conn_lifetime=$(HYDRA_DATABASE_MAX_CONN_LIFETIME)&max_conn_idle_time=$(HYDRA_DATABASE_MAX_CONN_IDLE_TIME)&connect_timeout=$(HYDRA_DATABASE_CONNECT_TIMEOUT)"