titan-iac/services/pegasus/kustomization.yaml

22 lines
694 B
YAML
Raw Permalink 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/-
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 }