94 lines
2.5 KiB
YAML
94 lines
2.5 KiB
YAML
---
|
|
# Source: lidarr/charts/lidarr/templates/common.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: lidarr
|
|
labels:
|
|
app.kubernetes.io/controller: main
|
|
app.kubernetes.io/instance: lidarr
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: lidarr
|
|
helm.sh/chart: lidarr-4.4.0
|
|
namespace: lidarr
|
|
spec:
|
|
revisionHistoryLimit: 3
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/controller: main
|
|
app.kubernetes.io/name: lidarr
|
|
app.kubernetes.io/instance: lidarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/controller: main
|
|
app.kubernetes.io/instance: lidarr
|
|
app.kubernetes.io/name: lidarr
|
|
spec:
|
|
enableServiceLinks: false
|
|
serviceAccountName: default
|
|
automountServiceAccountToken: true
|
|
securityContext:
|
|
fsGroup: 1000
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
runAsGroup: 1000
|
|
runAsUser: 1000
|
|
hostIPC: false
|
|
hostNetwork: false
|
|
hostPID: false
|
|
dnsPolicy: ClusterFirst
|
|
containers:
|
|
- env:
|
|
- name: TZ
|
|
value: US/Central
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
image: ghcr.io/linuxserver/lidarr:2.14.5@sha256:5e1235d00b5d1c1f60ca0d472e554a6611aef41aa7b5b6d88260214bf4809af0
|
|
imagePullPolicy: IfNotPresent
|
|
name: main
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: config
|
|
- mountPath: /mnt/store
|
|
name: media
|
|
- args:
|
|
- lidarr
|
|
env:
|
|
- name: URL
|
|
value: http://localhost
|
|
- name: CONFIG
|
|
value: /config/config.xml
|
|
- name: PORT
|
|
value: "9792"
|
|
- name: ENABLE_ADDITIONAL_METRICS
|
|
value: "false"
|
|
- name: ENABLE_UNKNOWN_QUEUE_ITEMS
|
|
value: "false"
|
|
image: ghcr.io/onedr0p/exportarr:v2.3.0
|
|
imagePullPolicy: IfNotPresent
|
|
name: metrics
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: config
|
|
readOnly: true
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: lidarr-config
|
|
- name: media
|
|
persistentVolumeClaim:
|
|
claimName: lidarr-nfs-storage
|