sonarr

by M0NsTeRRR

Helm chartv2.4.0App 4.0.20Verified publisher

sonarr helm chart for Kubernetes

About this chart

sonarr

sonarr helm chart for Kubernetes

Homepage: https://github.com/Sonarr/Sonarr

Maintainers

NameEmailUrl
Ludovic Ortega[email protected]

Source Code

Requirements

Kubernetes: >=1.23.0-0

Install

helm install sonarr oci://ghcr.io/m0nsterrr/helm-charts/sonarr

Verify the signature with cosign :

cosign verify ghcr.io/m0nsterrr/helm-charts/sonarr:2.4.0 --certificate-identity-regexp=^https://github.com/M0NsTeRRR/helm-charts.*$ --certificate-oidc-issuer=https://token.ac
tions.githubusercontent.com

Values

KeyTypeDefaultDescription
affinityobject{}
annotationsobject{}Deployment annotations
configobject{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"enabled":true,"name":"","size":"5Gi","storageClass":"","volumeName":""}}Creating PVC to store configuration
config.persistence.accessModeslist["ReadWriteOnce"]Access modes of persistent disk
config.persistence.annotationsobject{}Annotations for PVCs
config.persistence.namestring""Config name
config.persistence.sizestring"5Gi"Size of persistent disk
config.persistence.storageClassstring""Storage class for the PVC. Set to "-" to disable dynamic provisioning. Uses default storage class if no value is provided
config.persistence.volumeNamestring""Name of the permanent volume to reference in the claim. Can be used to bind to existing volumes.
extraEnvlist[]Environment variables to add to the sonarr pods
extraEnvFromlist[]Environment variables from secrets or configmaps to add to the sonarr pods
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.registrystring"ghcr.io"
image.repositorystring"home-operations/sonarr"
image.shastring""
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.ingressClassNamestring""
ingress.tlslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podLabelsobject{}
podSecurityContext.fsGroupint65534
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
priorityClassNamestring""Priority class to be assigned to the Pod(s).
probes.liveness.failureThresholdint3Consecutive failures before the container is restarted
probes.liveness.initialDelaySecondsint0Seconds after the container has started before the probe is initiated
probes.liveness.pathstring"/ping"HTTP path probed
probes.liveness.periodSecondsint10How often (in seconds) to perform the probe
probes.liveness.timeoutSecondsint1Seconds after which the probe times out
probes.readiness.failureThresholdint3Consecutive failures before the pod is marked unready
probes.readiness.initialDelaySecondsint0Seconds after the container has started before the probe is initiated
probes.readiness.pathstring"/ping"HTTP path probed
probes.readiness.periodSecondsint10How often (in seconds) to perform the probe
probes.readiness.successThresholdint1Consecutive successes required to be considered ready again
probes.readiness.timeoutSecondsint1Seconds after which the probe times out
probes.startupobject{"enabled":false,"failureThreshold":30,"initialDelaySeconds":0,"path":"/ping","periodSeconds":10,"timeoutSeconds":1}Startup probe, holds liveness and readiness until the first success. Useful for slow starts (database migrations). The maximum startup time is failureThreshold * periodSeconds.
probes.startup.enabledboolfalseEnable the startup probe
probes.startup.failureThresholdint30Consecutive failures before the container is restarted
probes.startup.initialDelaySecondsint0Seconds after the container has started before the probe is initiated
probes.startup.pathstring"/ping"HTTP path probed
probes.startup.periodSecondsint10How often (in seconds) to perform the probe
probes.startup.timeoutSecondsint1Seconds after which the probe times out
replicaCountint1
resourcesobject{}
route.main.additionalRuleslist[]
route.main.annotationsobject{}
route.main.apiVersionstring"gateway.networking.k8s.io/v1"Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2
route.main.enabledboolfalseEnables or disables the Gateway API route
route.main.filterslist[]
route.main.hostnameslist[]
route.main.httpsRedirectboolfalseTo redirect to HTTPS, create a new route object under the main route and enable this option. This should only be used with HTTP-like routes, such as HTTPRoute or GRPCRoute. Reference
route.main.kindstring"HTTPRoute"Set the route kind. Note that experimental kinds require changing apiVersion
route.main.labelsobject{}
route.main.matches[0].path.typestring"PathPrefix"
route.main.matches[0].path.valuestring"/"
route.main.parentRefslist[]
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.privilegedboolfalse
securityContext.readOnlyRootFilesystemboolfalse
securityContext.runAsGroupint65534
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint65534
securityContext.seccompProfile.typestring"RuntimeDefault"
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
strategyobject{"type":"Recreate"}Deployment strategy
tolerationslist[]
volumeMountslist[]Additional volumeMounts on the output Deployment definition.
volumeslist[]Additional volumes on the output Deployment definition.

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.4.0 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