2024-07-02 23:33:48 -04:00
|
|
|
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
|
2024-07-03 08:57:07 -04:00
|
|
|
image: ghcr.io/linuxserver/radarr@sha256:c5b78b1f1e8556d781788194c4ee2b87ca7e3620b701bfce31499e60ee50eca3
|
2024-07-02 23:33:48 -04:00
|
|
|
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
|
2024-07-02 23:33:48 -04:00
|
|
|
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}
|