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-5.0.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: sonarr automountServiceAccountToken: false securityContext: fsGroup: 1000 fsGroupChangePolicy: OnRootMismatch hostIPC: false hostNetwork: false hostPID: false dnsPolicy: ClusterFirst containers: - env: - name: TZ value: America/Chicago - name: PUID value: "1000" - name: PGID value: "1000" image: ghcr.io/linuxserver/sonarr:4.0.17.2952-ls311@sha256:60f3b6b5c7647ba2bafd81163acfe34b11117b9b834ebd7fbcc3e5f1b309c7ef name: main resources: requests: cpu: 100m memory: 250Mi 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@sha256:af535d94061cf97a52e1661945ffba78c03f9443eae7c0da1a80a5a4be56b520 name: metrics volumeMounts: - mountPath: /config name: config readOnly: true volumes: - name: config persistentVolumeClaim: claimName: sonarr-config - name: media persistentVolumeClaim: claimName: sonarr-nfs-storage