kub/apps/production/radarr/deployment.yaml

54 lines
1.2 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: radarr
namespace: default
labels:
app: radarr
spec:
serviceName: headless-radarr
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
spec:
containers:
- name: radarr
image: ghcr.io/linuxserver/radarr@sha256:c5b78b1f1e8556d781788194c4ee2b87ca7e3620b701bfce31499e60ee50eca3
imagePullPolicy: IfNotPresent
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: America/New_York
volumeMounts:
- mountPath: /config
name: config
2024-07-03 21:40:55 -04:00
- mountPath: /data
name: nas
envFrom:
- secretRef:
name: nas-secret
- configMapRef:
name: nas-configmap
volumeClaimTemplates:
- metadata:
name: config
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 5Gi
storageClassName: longhorn
2024-07-03 21:40:55 -04:00
volumes:
- name: nas
nfs:
path: ${EXPORT_PATH}
server: ${NAS_SERVER}