sonarr

by brandan-schmitz

Helm chartv2.0.10App 4.0.17.2952Verified publisher

Sonarr (formerly NZBdrone) is a PVR for usenet and bittorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.

About this chart

sonarr

Sonarr (formerly NZBdrone) is a PVR for usenet and bittorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.

Source Code

Installing the Chart

To install the chart with the release name sonarr:

$ helm repo add brandan-schmitz http://brandan-schmitz.github.io/helm-charts
$ helm install sonarr brandan-schmitz/sonarr

Values

KeyTypeDefaultDescription
image.repositorystring"linuxserver/sonarr"image repository
image.tagstringnilimage tag
image.pullPolicystring"IfNotPresent"image pull policy
env.TZstring"America/Chicago"Set the timezone that will be used by the container
env.PUIDstring"1000"Set the user ID that the container will run Sonarr as
env.PGIDstring"1000"Set the group ID that the container will run Sonarr as
service.main.enabledbooltrueEnables or disables the service
service.main.typestring"ClusterIP"Set the service type
service.main.externalTrafficPolicystringnil[ref]
service.main.annotationsobject{}Provide additional annotations which may be required.
service.main.labelsobject{}Provide additional labels which may be required.
service.main.ports.http.portint8989The port number
service.main.ports.http.protocolstring"HTTP"Port protocol.
service.main.ports.http.nodePortint8989Specify the nodePort value for the LoadBalancer and NodePort service types. [ref]
ingress.main.enabledboolfalseEnables or disables the ingress
ingress.main.primarybooltrueMake this the primary ingress (used in probes, notes, etc...). If there is more than 1 ingress, make sure that only 1 ingress is marked as primary.
ingress.main.nameOverridestringnilOverride the name suffix that is used for this ingress.
ingress.main.annotationsobject{}Provide additional annotations which may be required.
ingress.main.labelsobject{}Provide additional labels which may be required.
ingress.main.ingressClassNamestringnilSet the ingressClass that is used for this ingress.
ingress.main.hosts[0].hoststring"chart-example.local"Host address. Helm template can be passed.
ingress.main.hosts[0].paths[0].pathstring"/"Path. Helm template can be passed.
ingress.main.hosts[0].paths[0].pathTypestring"Prefix"
ingress.main.hosts[0].paths[0].service.namestringnilOverrides the service name reference for this path
ingress.main.hosts[0].paths[0].service.portstringnilOverrides the service port reference for this path
ingress.main.tlslist[]Configure TLS for the ingress. Both secretName and hosts can process a Helm template.
persistence.configobjectSee belowPersistence for Sonarr configuration files
persistence.config.enabledbooltrueEnables or disables the persistence item
persistence.config.storageClassstringnilStorage Class for the config volume. If set to -, dynamic provisioning is disabled. If set to something else, the given storageClass is used. If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner.
persistence.config.existingClaimstringnilIf you want to reuse an existing claim, the name of the existing PVC can be passed here.
persistence.config.accessModestring"ReadWriteOnce"AccessMode for the persistent volume. Make sure to select an access mode that is supported by your storage provider! [ref]
persistence.config.sizestring"10Gi"The amount of storage that is requested for the persistent volume.
persistence.config.retainbooltrueSet to true to retain the PVC upon helm uninstall
persistence.mediaobjectSee belowPersistence for media files.
persistence.media.enabledbooltrueEnables or disables the persistence item
persistence.media.storageClassstringnilStorage Class for the config volume. If set to -, dynamic provisioning is disabled. If set to something else, the given storageClass is used. If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner.
persistence.media.existingClaimstringnilIf you want to reuse an existing claim, the name of the existing PVC can be passed here.
persistence.media.accessModestring"ReadWriteOnce"AccessMode for the persistent volume. Make sure to select an access mode that is supported by your storage provider! [ref]
persistence.media.sizestring"1Ti"The amount of storage that is requested for the persistent volume.
persistence.media.retainbooltrueSet to true to retain the PVC upon helm uninstall
resources.requests.cpustring"500m"CPU Request amount
resources.requests.memorystring"512Mi"
resources.limits.cpustring"1500m"CPU Limit amount
resources.limits.memorystring"2Gi"Memory Limit amount

Autogenerated from chart metadata using helm-docs v1.12.0

Deploy sonarr with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sonarr on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsonarr is pinned at v2.0.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply