From e1a22496bda0cd6f7bd982d58d3fe6e1631afae1 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 26 Sep 2024 16:54:45 +0200 Subject: [PATCH] TRY 0009 --- .../patches/hydra-janitor-cronjob.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/hydra-cnpg-database/patches/hydra-janitor-cronjob.yaml b/components/hydra-cnpg-database/patches/hydra-janitor-cronjob.yaml index c5e4447..467742b 100644 --- a/components/hydra-cnpg-database/patches/hydra-janitor-cronjob.yaml +++ b/components/hydra-cnpg-database/patches/hydra-janitor-cronjob.yaml @@ -1,5 +1,5 @@ - op: add - path: "/spec/template/spec/containers/0/env/-" + path: "/spec/jobTemplate/spec/template/spec/containers/0/env/-" value: name: HYDRA_DATABASE_USER valueFrom: @@ -7,7 +7,7 @@ name: hydra-postgres-app key: username - op: add - path: "/spec/template/spec/containers/0/env/-" + path: "/spec/jobTemplate/spec/template/spec/containers/0/env/-" value: name: HYDRA_DATABASE_PASSWORD valueFrom: @@ -15,7 +15,7 @@ name: hydra-postgres-app key: password - op: add - path: "/spec/template/spec/containers/0/env/-" + path: "/spec/jobTemplate/spec/template/spec/containers/0/env/-" value: name: HYDRA_DATABASE_SERVICE_NAME valueFrom: @@ -23,7 +23,7 @@ name: hydra-postgres-app key: host - op: add - path: "/spec/template/spec/containers/0/env/-" + path: "/spec/jobTemplate/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"