diff --git a/charts/sorcerer/prod/deployment_patch.yaml b/charts/sorcerer/prod/deployment_patch.yaml index fb5ac9dc..245d8121 100644 --- a/charts/sorcerer/prod/deployment_patch.yaml +++ b/charts/sorcerer/prod/deployment_patch.yaml @@ -11,6 +11,19 @@ value: name: ARCHMEISTER_AUTH value: "admin:en-to-tre-fire" +- op: add + path: /spec/template/spec/containers/0/env/- + value: + name: REDIS_USER + value: default +- op: add + path: /spec/template/spec/containers/0/env/- + value: + name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: prod-redis + key: redis-password - op: add path: /spec/template/spec/containers/0/envFrom/- value: diff --git a/charts/sorcerer/staging/deployment_patch.yaml b/charts/sorcerer/staging/deployment_patch.yaml index c7981ac9..e859f59e 100644 --- a/charts/sorcerer/staging/deployment_patch.yaml +++ b/charts/sorcerer/staging/deployment_patch.yaml @@ -6,6 +6,19 @@ value: name: LOG_LEVEL value: "4" +- op: add + path: /spec/template/spec/containers/0/env/- + value: + name: REDIS_USER + value: default +- op: add + path: /spec/template/spec/containers/0/env/- + value: + name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: staging-redis + key: redis-password - op: add path: /spec/template/spec/containers/0/env/- value: