diff --git a/cluster/apps/invidious/invidious.yml b/cluster/apps/invidious/invidious.yml index d9df1dd..bbd12a1 100644 --- a/cluster/apps/invidious/invidious.yml +++ b/cluster/apps/invidious/invidious.yml @@ -32,6 +32,21 @@ spec: public_url: "http://localhost:8282" invidious_companion_key: $(COMPANION_KEY) hmac_key: $(HMAC_KEY) + - name: POSTGRES_USER + valueFrom: + secretKeyRef: + name: invidious-db-secrets + key: postgres-user + - name: POSTGRES_PASSWORD + valueFrom: + secretKeyRef: + name: invidious-db-secrets + key: postgres-password + - name: POSTGRES_DB + valueFrom: + secretKeyRef: + name: invidious-db-secrets + key: postgres-db envFrom: - secretRef: name: invidious-db-secrets @@ -47,13 +62,6 @@ spec: periodSeconds: 30 timeoutSeconds: 5 failureThreshold: 2 - resources: - limits: - memory: "1Gi" - cpu: "1" - requests: - memory: "512Mi" - cpu: "500m" volumeMounts: - name: logging mountPath: /var/log/invidious