split db, companion and app into three deployments

This commit is contained in:
2025-12-10 03:39:31 +05:30
parent 3a984cc73e
commit fb8f41165e
5 changed files with 128 additions and 45 deletions

View File

@@ -0,0 +1,28 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: invidious-companion
namespace: media
spec:
selector:
matchLabels:
app: invidious-companion
template:
metadata:
labels:
app: invidious-companion
spec:
containers:
- name: inv-companion
image: quay.io/invidious/invidious-companion@sha256:d68a312073920572e39b0d4ae486f22885819567fae5fac23220f7b750f8e295
env:
- name: SERVER_SECRET_KEY
valueFrom:
secretKeyRef:
name: invidious-secrets
key: INVIDIOUS_COMPANION_KEY
securityContext:
capabilities:
drop:
- ALL