pegasus corrections

This commit is contained in:
Brad Stein 2025-09-07 13:34:06 -05:00
parent 001e9c36fe
commit 47cbc9b9f6
2 changed files with 3 additions and 9 deletions

View File

@ -5,7 +5,7 @@ metadata:
name: pegasus name: pegasus
namespace: jellyfin namespace: jellyfin
spec: spec:
replicas: 1 replicas: 0
selector: { matchLabels: { app: pegasus } } selector: { matchLabels: { app: pegasus } }
template: template:
metadata: { labels: { app: pegasus } } metadata: { labels: { app: pegasus } }
@ -32,9 +32,9 @@ spec:
- name: JELLYFIN_URL - name: JELLYFIN_URL
valueFrom: { secretKeyRef: { name: pegasus-secrets, key: JELLYFIN_URL } } valueFrom: { secretKeyRef: { name: pegasus-secrets, key: JELLYFIN_URL } }
- name: PEGASUS_DEBUG - name: PEGASUS_DEBUG
value: 1 value: "1"
- name: PEGASUS_DRY_RUN - name: PEGASUS_DRY_RUN
value: 1 value: "1"
ports: [{ name: http, containerPort: 8080 }] ports: [{ name: http, containerPort: 8080 }]
volumeMounts: volumeMounts:
- name: media - name: media

View File

@ -9,12 +9,6 @@ resources:
patches: patches:
- target: { kind: Deployment, name: pegasus, namespace: jellyfin } - target: { kind: Deployment, name: pegasus, namespace: jellyfin }
patch: | patch: |
- op: add
path: /spec/template/spec/containers/0/env/-
value: { name: PEGASUS_DEBUG, value: "1" }
- op: add
path: /spec/template/spec/containers/0/env/-
value: { name: PEGASUS_DRY_RUN, value: "1" }
- op: add - op: add
path: /spec/template/spec/containers/- path: /spec/template/spec/containers/-
value: value: