refactor file names
This commit is contained in:
parent
dcd5ad2d4c
commit
e296d7e7c1
|
|
@ -1,58 +0,0 @@
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
***REMOVED***
|
|
||||||
name: jellyfin
|
|
||||||
namespace: media
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: jellyfin
|
|
||||||
template:
|
|
||||||
***REMOVED***
|
|
||||||
labels:
|
|
||||||
app: jellyfin
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
- weight: 100
|
|
||||||
preference:
|
|
||||||
matchExpressions:
|
|
||||||
- key: media-transcode
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- "true"
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: jellyfin
|
|
||||||
image: jellyfin/jellyfin
|
|
||||||
volumeMounts:
|
|
||||||
- name: config
|
|
||||||
mountPath: /config
|
|
||||||
- name: videos
|
|
||||||
mountPath: /data/videos
|
|
||||||
- name: dri
|
|
||||||
mountPath: /dev/dri
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
ports:
|
|
||||||
- containerPort: 8096
|
|
||||||
env:
|
|
||||||
- name: PUID
|
|
||||||
value: "1000"
|
|
||||||
- name: PGID
|
|
||||||
value: "1000"
|
|
||||||
- name: TZ
|
|
||||||
value: "Pacific/Auckland"
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: jellyfin-config
|
|
||||||
- name: videos
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: jellyfin-media
|
|
||||||
- name: dri
|
|
||||||
hostPath:
|
|
||||||
path: /dev/dri
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- jellyfin-ingress.yaml
|
- ingress.yaml
|
||||||
- jellyfin-service.yaml
|
- service.yaml
|
||||||
- jellyfin-pvc.yaml
|
- pvc.yaml
|
||||||
- jellyfin-deployment.yaml
|
- deployment.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue