From 5b914e8c70edfa2bde91b02af694492fb005a66e Mon Sep 17 00:00:00 2001 From: Gary van Woerkens Date: Thu, 28 Nov 2024 15:58:59 +0100 Subject: [PATCH] fix: secret refs --- .kontinuous/env/dev/values.yaml | 4 ++++ .kontinuous/env/preprod/values.yaml | 4 ++++ .kontinuous/env/prod/values.yaml | 4 ++++ .kontinuous/values.yaml | 5 ----- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.kontinuous/env/dev/values.yaml b/.kontinuous/env/dev/values.yaml index fb40c02..086808f 100644 --- a/.kontinuous/env/dev/values.yaml +++ b/.kontinuous/env/dev/values.yaml @@ -2,6 +2,10 @@ api: vars: ENV: review envFrom: + - secretRef: + name: pg-app + - secretRef: + name: api - secretRef: name: ozensemble-dev-app-access-key diff --git a/.kontinuous/env/preprod/values.yaml b/.kontinuous/env/preprod/values.yaml index 0f4c293..9e0b7fc 100644 --- a/.kontinuous/env/preprod/values.yaml +++ b/.kontinuous/env/preprod/values.yaml @@ -7,5 +7,9 @@ api: - mountPath: /app/public/uploads name: uploads envFrom: + - secretRef: + name: pg-app + - secretRef: + name: api - secretRef: name: ozensemble-dev-app-access-key diff --git a/.kontinuous/env/prod/values.yaml b/.kontinuous/env/prod/values.yaml index e105710..a95f352 100644 --- a/.kontinuous/env/prod/values.yaml +++ b/.kontinuous/env/prod/values.yaml @@ -14,6 +14,10 @@ api: cpu: "300m" memory: "1Gi" envFrom: + - secretRef: + name: pg-app + - secretRef: + name: api - secretRef: name: ozensemble-prod-app-access-key diff --git a/.kontinuous/values.yaml b/.kontinuous/values.yaml index 78310dc..9714324 100644 --- a/.kontinuous/values.yaml +++ b/.kontinuous/values.yaml @@ -16,11 +16,6 @@ api: imagePackage: api probesPath: /_health containerPort: "1337" - envFrom: - - secretRef: - name: pg-app - - secretRef: - name: api vars: DATABASE_HOST: "$(PGHOST)"