fix: update invidious deployment and service configurations for consistency and readiness checks

This commit is contained in:
2025-04-15 19:14:51 +05:30
parent 537a942ab7
commit 2aa871fb7e
3 changed files with 58 additions and 73 deletions

View File

@@ -2,27 +2,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: companion
name: invidious-companion
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: companion
app: invidious-companion
template:
metadata:
labels:
app: companion
app: invidious-companion
spec:
containers:
- name: companion
- name: invidious-companion
image: quay.io/invidious/invidious-companion:latest
env:
- name: SERVER_SECRET_KEY
valueFrom:
secretKeyRef:
name: companion-secrets
key: server-secret-key
value: "mtRhvm9wMCJhdnGP"
ports:
- containerPort: 8282
securityContext: