This commit is contained in:
2025-04-15 13:46:08 +05:30
parent f1a54cec13
commit b9fcd07f03

View File

@@ -21,32 +21,17 @@ spec:
- name: INVIDIOUS_CONFIG
value: |
db:
dbname: $(POSTGRES_DB)
user: $(POSTGRES_USER)
password: $(POSTGRES_PASSWORD)
host: invidious-db
dbname: "${POSTGRES_DB}"
user: "${POSTGRES_USER}"
password: "${POSTGRES_PASSWORD}"
host: "invidious-db"
port: 5432
check_tables: true
invidious_companion:
- private_url: "http://companion:8282"
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
invidious_companion_key: "${COMPANION_KEY}"
hmac_key: "${HMAC_KEY}"
envFrom:
- secretRef:
name: invidious-db-secrets