Gluttony-Cluster/tautulli/tautulli-deployment.yaml

44 lines
969 B
YAML
Raw Normal View History

2023-11-30 02:28:41 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
2023-12-03 02:51:04 +00:00
name: tautulli
2023-11-30 02:28:41 +00:00
namespace: tautulli-ns
spec:
replicas: 1
selector:
matchLabels:
2023-12-03 02:51:04 +00:00
app: tautulli
2023-11-30 02:28:41 +00:00
template:
metadata:
labels:
2023-12-03 02:51:04 +00:00
app: tautulli
2023-11-30 02:28:41 +00:00
spec:
securityContext:
fsGroup: 1000
initContainers:
- name: init-chown
2023-12-03 02:51:04 +00:00
image: alpine
2023-11-30 02:28:41 +00:00
command: [ "sh", "-c", "chown -R 1000:1000 /mnt/data" ]
volumeMounts:
- name: tautulli-data
mountPath: "/mnt/data"
containers:
- name: tautulli
image: ghcr.io/tautulli/tautulli
env:
- name: PUID
2023-12-03 02:51:04 +00:00
value: "1000"
2023-11-30 02:28:41 +00:00
- name: PGID
value: "1000"
- name: TZ
value: "America/New_York"
ports:
- containerPort: 8181
volumeMounts:
- name: tautulli-data
mountPath: "/config"
volumes:
2023-12-03 02:51:04 +00:00
- name: tautulli-data
2023-11-30 02:28:41 +00:00
persistentVolumeClaim:
claimName: tautulli-pvc