--- # Source: sonarr/charts/sonarr/templates/common.yaml apiVersion: apps/v1 kind: Deployment metadata: name: sonarr labels: app.kubernetes.io/controller: main app.kubernetes.io/instance: sonarr app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: sonarr helm.sh/chart: sonarr-4.4.0 namespace: sonarr spec: revisionHistoryLimit: 3 replicas: 1 strategy: type: Recreate selector: matchLabels: app.kubernetes.io/controller: main app.kubernetes.io/name: sonarr app.kubernetes.io/instance: sonarr template: metadata: labels: app.kubernetes.io/controller: main app.kubernetes.io/instance: sonarr app.kubernetes.io/name: sonarr spec: enableServiceLinks: false serviceAccountName: default automountServiceAccountToken: true securityContext: fsGroup: 1000 fsGroupChangePolicy: OnRootMismatch 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/sonarr:4.0.16@sha256:60e5edcac39172294ad22d55d1b08c2c0a9fe658cad2f2c4d742ae017d7874de imagePullPolicy: IfNotPresent name: main resources: requests: cpu: 100m memory: 256Mi volumeMounts: - mountPath: /config name: config - mountPath: /mnt/store name: media - args: - sonarr env: - name: URL value: http://localhost - name: CONFIG value: /config/config.xml - name: PORT value: "9794" - 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: 256Mi volumeMounts: - mountPath: /config name: config readOnly: true volumes: - name: config persistentVolumeClaim: claimName: sonarr-config - name: media persistentVolumeClaim: claimName: sonarr-nfs-storage