From 4d0d5f23296ba01a5a6fad1aafeb907b2d83fb5d Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Tue, 15 Apr 2025 14:00:32 +0530 Subject: [PATCH] fix: add missing environment variables for database secrets in invidious deployment --- cluster/apps/invidious/invidious.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/cluster/apps/invidious/invidious.yml b/cluster/apps/invidious/invidious.yml index a1e05be..759838f 100644 --- a/cluster/apps/invidious/invidious.yml +++ b/cluster/apps/invidious/invidious.yml @@ -23,6 +23,21 @@ spec: configMapKeyRef: name: invidious-config key: config.yaml + - name: POSTGRES_PASSWORD + valueFrom: + secretKeyRef: + name: invidious-db-secrets + key: postgres-password + - name: COMPANION_KEY + valueFrom: + secretKeyRef: + name: invidious-app-secrets + key: companion-key + - name: HMAC_KEY + valueFrom: + secretKeyRef: + name: invidious-app-secrets + key: hmac-key envFrom: - secretRef: name: invidious-db-secrets @@ -43,4 +58,4 @@ spec: mountPath: /var/log/invidious volumes: - name: logging - emptyDir: {} \ No newline at end of file + emptyDir: {}