From b25f00c6c9b77d2bf8b69379f8c0918161d16f1c Mon Sep 17 00:00:00 2001 From: martyna-autumn Date: Thu, 31 Oct 2024 16:21:09 +0100 Subject: [PATCH] chore: migrate aleph notification to k8s with kuvert --- helm/charts/aleph/templates/aleph-upgrade-job.yaml | 6 ++++++ helm/charts/aleph/templates/api.yaml | 6 ++++++ helm/charts/aleph/templates/exporter.yaml | 6 ++++++ helm/charts/aleph/templates/worker-index.yaml | 6 ++++++ helm/charts/aleph/templates/worker.yaml | 6 ++++++ 5 files changed, 30 insertions(+) diff --git a/helm/charts/aleph/templates/aleph-upgrade-job.yaml b/helm/charts/aleph/templates/aleph-upgrade-job.yaml index f17f2defb9..10f70c69bc 100644 --- a/helm/charts/aleph/templates/aleph-upgrade-job.yaml +++ b/helm/charts/aleph/templates/aleph-upgrade-job.yaml @@ -72,6 +72,12 @@ spec: secretKeyRef: name: aleph-secrets key: ALEPH_SECRET_KEY + - name: ALEPH_MAIL_PASSWORD + valueFrom: + secretKeyRef: + name: aleph-secrets + key: ALEPH_MAIL_PASSWORD + optional: true - name: FTM_STORE_URI valueFrom: secretKeyRef: diff --git a/helm/charts/aleph/templates/api.yaml b/helm/charts/aleph/templates/api.yaml index f1a71af42f..bd74307220 100644 --- a/helm/charts/aleph/templates/api.yaml +++ b/helm/charts/aleph/templates/api.yaml @@ -84,6 +84,12 @@ spec: secretKeyRef: name: aleph-secrets key: ALEPH_SECRET_KEY + - name: ALEPH_MAIL_PASSWORD + valueFrom: + secretKeyRef: + name: aleph-secrets + key: ALEPH_MAIL_PASSWORD + optional: true - name: FTM_STORE_URI valueFrom: secretKeyRef: diff --git a/helm/charts/aleph/templates/exporter.yaml b/helm/charts/aleph/templates/exporter.yaml index 6f13872c43..f366faa830 100644 --- a/helm/charts/aleph/templates/exporter.yaml +++ b/helm/charts/aleph/templates/exporter.yaml @@ -58,6 +58,12 @@ spec: secretKeyRef: name: aleph-secrets key: ALEPH_SECRET_KEY + - name: ALEPH_MAIL_PASSWORD + valueFrom: + secretKeyRef: + name: aleph-secrets + key: ALEPH_MAIL_PASSWORD + optional: true - name: SENTRY_DSN valueFrom: secretKeyRef: diff --git a/helm/charts/aleph/templates/worker-index.yaml b/helm/charts/aleph/templates/worker-index.yaml index cca97491ff..92ee16ac4d 100644 --- a/helm/charts/aleph/templates/worker-index.yaml +++ b/helm/charts/aleph/templates/worker-index.yaml @@ -66,6 +66,12 @@ spec: secretKeyRef: name: aleph-secrets key: ALEPH_SECRET_KEY + - name: ALEPH_MAIL_PASSWORD + valueFrom: + secretKeyRef: + name: aleph-secrets + key: ALEPH_MAIL_PASSWORD + optional: true - name: FTM_STORE_URI valueFrom: secretKeyRef: diff --git a/helm/charts/aleph/templates/worker.yaml b/helm/charts/aleph/templates/worker.yaml index 9307cfe6b1..c1b278fc1a 100644 --- a/helm/charts/aleph/templates/worker.yaml +++ b/helm/charts/aleph/templates/worker.yaml @@ -66,6 +66,12 @@ spec: secretKeyRef: name: aleph-secrets key: ALEPH_SECRET_KEY + - name: ALEPH_MAIL_PASSWORD + valueFrom: + secretKeyRef: + name: aleph-secrets + key: ALEPH_MAIL_PASSWORD + optional: true - name: FTM_STORE_URI valueFrom: secretKeyRef: