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 - name: INVIDIOUS_CONFIG
value: | value: |
db: db:
dbname: $(POSTGRES_DB) dbname: "${POSTGRES_DB}"
user: $(POSTGRES_USER) user: "${POSTGRES_USER}"
password: $(POSTGRES_PASSWORD) password: "${POSTGRES_PASSWORD}"
host: invidious-db host: "invidious-db"
port: 5432 port: 5432
check_tables: true check_tables: true
invidious_companion: invidious_companion:
- private_url: "http://companion:8282" - private_url: "http://companion:8282"
public_url: "http://localhost:8282" public_url: "http://localhost:8282"
invidious_companion_key: $(COMPANION_KEY) invidious_companion_key: "${COMPANION_KEY}"
hmac_key: $(HMAC_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: envFrom:
- secretRef: - secretRef:
name: invidious-db-secrets name: invidious-db-secrets