37 lines
855 B
YAML
37 lines
855 B
YAML
resources:
|
|
- jellyfin-deployment.yaml
|
|
- jellyfin-ingress.yaml
|
|
|
|
namePrefix: jellyfin-
|
|
|
|
commonLabels:
|
|
app.kubernetes.io/name: jellyfin
|
|
|
|
configMapGenerator:
|
|
- name: kustomize-generated-config
|
|
literals:
|
|
- JELLYFIN_EXTERNAL_HOST=jellyfin.badjware.dev
|
|
- JELLYFIN_EXTERNAL_URL=https://jellyfin.badjware.dev
|
|
|
|
replacements:
|
|
- source:
|
|
kind: ConfigMap
|
|
name: kustomize-generated-config
|
|
fieldPath: data.JELLYFIN_EXTERNAL_HOST
|
|
targets:
|
|
- select:
|
|
kind: Ingress
|
|
name: server
|
|
fieldPaths:
|
|
- spec.rules.0.host
|
|
- source:
|
|
kind: ConfigMap
|
|
name: kustomize-generated-config
|
|
fieldPath: data.JELLYFIN_EXTERNAL_URL
|
|
targets:
|
|
- select:
|
|
kind: Deployment
|
|
name: server
|
|
fieldPaths:
|
|
- spec.template.spec.containers.0.env.0.value
|