new for companion
This commit is contained in:
@@ -2,29 +2,40 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: inv-sig-helper
|
||||
name: companion
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: inv-sig-helper
|
||||
app: companion
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: inv-sig-helper
|
||||
app: companion
|
||||
spec:
|
||||
containers:
|
||||
- name: inv-sig-helper
|
||||
image: quay.io/invidious/inv-sig-helper:master-9073c15
|
||||
args: ["--tcp", "0.0.0.0:12999"]
|
||||
- name: companion
|
||||
image: quay.io/invidious/invidious-companion:latest
|
||||
env:
|
||||
- name: RUST_LOG
|
||||
value: "info"
|
||||
- name: SERVER_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: companion-secrets
|
||||
key: server-secret-key
|
||||
ports:
|
||||
- containerPort: 12999
|
||||
- containerPort: 8282
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
allowPrivilegeEscalation: false
|
||||
volumeMounts:
|
||||
- name: companion-cache
|
||||
mountPath: /var/tmp/youtubei.js
|
||||
subPath: youtubei.js
|
||||
volumes:
|
||||
- name: companion-cache
|
||||
persistentVolumeClaim:
|
||||
claimName: longhorn-invidious-cache
|
||||
Reference in New Issue
Block a user