titan-iac/services/pegasus/kustomization.yaml

28 lines
936 B
YAML
Raw Normal View History

2025-09-07 13:20:49 -05:00
# services/pegasus/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- configmap.yaml
- service.yaml
- deployment.yaml
- ingress.yaml
patches:
- target: { kind: Deployment, name: pegasus, namespace: jellyfin }
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
path: /spec/template/spec/containers/-
value:
name: shell
image: alpine:3.20
command: ["sh","-c","sleep infinity"]
securityContext: { runAsUser: 10001, runAsGroup: 10001, allowPrivilegeEscalation: false }
volumeMounts:
- { name: media, mountPath: /media }
- { name: config, mountPath: /config, readOnly: true }