fix(invidious): add HMAC key
Re: https://github.com/iv-org/invidious/issues/3540
This commit is contained in:
parent
6643306918
commit
3173635b77
|
@ -88,6 +88,12 @@ spec:
|
||||||
name: invidious-credentials
|
name: invidious-credentials
|
||||||
key: database-url
|
key: database-url
|
||||||
optional: false
|
optional: false
|
||||||
|
- name: INVIDIOUS_HMAC_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: invidious-credentials
|
||||||
|
key: hmac-key
|
||||||
|
optional: false
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /invidious/config/config.yml
|
- mountPath: /invidious/config/config.yml
|
||||||
subPath: config.yml
|
subPath: config.yml
|
||||||
|
|
|
@ -67,6 +67,7 @@ secretGenerator:
|
||||||
- name: invidious-credentials
|
- name: invidious-credentials
|
||||||
literals:
|
literals:
|
||||||
- database-url=postgresql://kemal:kemal@dev-db:5432/invidious
|
- database-url=postgresql://kemal:kemal@dev-db:5432/invidious
|
||||||
|
- hmac-key=fc93ecd912530fa278c8642cb16a2f86b76c228ce4b4b70a6e3107dfb57214ab
|
||||||
# Individual keys required by init-invidious-db:
|
# Individual keys required by init-invidious-db:
|
||||||
- database-host=dev-db
|
- database-host=dev-db
|
||||||
- database-port=5432
|
- database-port=5432
|
||||||
|
|
|
@ -64,6 +64,7 @@ secretGenerator:
|
||||||
files:
|
files:
|
||||||
- database-url=secrets/invidious-database-url
|
- database-url=secrets/invidious-database-url
|
||||||
- database-password=secrets/invidious-database-password
|
- database-password=secrets/invidious-database-password
|
||||||
|
- hmac-key=secrets/invidious-hmac-key.txt
|
||||||
options:
|
options:
|
||||||
labels:
|
labels:
|
||||||
app: invidious
|
app: invidious
|
||||||
|
|
Loading…
Reference in New Issue