Gluttony-Cluster/invidious/invidious-deployment.yaml

62 lines
1.7 KiB
YAML
Raw Normal View History

2023-10-15 01:58:00 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: invidious
namespace: invidious-ns
spec:
replicas: 1
selector:
matchLabels:
app: invidious
template:
metadata:
labels:
app: invidious
spec:
containers:
2023-10-29 03:37:52 +00:00
- name: wait-and-die
2023-10-29 03:40:23 +00:00
image: alpine:latest
2023-10-29 03:37:52 +00:00
command: ["/bin/sh", "-c"]
2023-11-04 15:30:24 +00:00
args: ["sleep 21600; exit 0"]
2023-10-15 01:58:00 +00:00
- name: invidious
2024-03-30 18:29:18 +00:00
image: quay.io/invidious/invidious:2024.03.08-99a5e9c
2023-10-15 01:58:00 +00:00
env:
2023-10-15 02:24:45 +00:00
- name: INVIDIOUS_PORT
value: "3000"
2023-10-15 01:58:00 +00:00
- name: INVIDIOUS_DB_PASSWORD
valueFrom:
secretKeyRef:
name: invidious-secret
2023-10-15 02:04:16 +00:00
key: invidious-postgres-password
2023-10-15 01:58:00 +00:00
- name: INVIDIOUS_HMAC_KEY
valueFrom:
secretKeyRef:
name: invidious-secret
2023-12-03 02:51:04 +00:00
key: hmac
2023-10-15 01:58:00 +00:00
- name: INVIDIOUS_CONFIG
value: |
db:
2023-10-15 02:38:45 +00:00
dbname: Invidious
2023-10-15 01:58:00 +00:00
user: invidious
password: $(INVIDIOUS_DB_PASSWORD)
2023-10-15 02:34:12 +00:00
host: postgresql.postgresql-system.svc.cluster.local
2023-10-15 01:58:00 +00:00
port: 5432
check_tables: true
hmac_key: "$(INVIDIOUS_HMAC_KEY)"
pool_size: 100
statistics_enabled: true
admins: ["tyler"]
channel_threads: 2
channel_refresh_interval: 15m
feed_threads: 2
banner: "Lol. Lmao even."
default_user_preferences:
default_home: "Subscriptions"
quality: dash
save_player_pos: true
2023-10-15 02:12:14 +00:00
port: 3000
#external_port: 443
#domain: watch.clortox.com
2023-10-15 01:58:00 +00:00
ports:
- containerPort: 3000