nzbget

by bdclark

Helm chartv0.2.2App 26.3.20261127MITVerified publisher

Usenet downloader

About this chart

Nzbget Helm Chart

Usenet downloader

[!NOTE] This chart is under active development. Breaking changes may occur between minor versions.

Installing

helm repo add bdclark https://bdclark.github.io/helm-charts
helm repo update
helm install nzbget bdclark/nzbget -f values.yaml

Environment Variables

Environment variables can be set via env (inline values or refs) and envFrom (bulk refs).

LinuxServer Variables

This chart uses the LinuxServer.io NZBGet image, which supports common environment variables:

env:
  TZ: America/New_York
  PUID: "1000"
  PGID: "1000"

NZBGet Configuration

NZBGet stores its configuration in /config/nzbget.conf. Unlike some applications, NZBGet does not support environment variable overrides for its config file. Configuration changes should be made through the web UI or by bootstrapping an initial config file.

Bulk Environment Variables

For bulk environment variables from ConfigMaps or Secrets:

envFrom:
  - secretRef:
      name: nzbget-credentials
  - configMapRef:
      name: nzbget-config

Persistence

Two persistent volumes are available: config for NZBGet's configuration and queue data, and data for downloads. Both are enabled by default.

persistence:
  config:
    enabled: true
    size: 1Gi
    # storageClass: ""
    # existingClaim: nzbget-config
  data:
    enabled: true
    size: 100Gi
    mountPath: /data
    # storageClass: ""
    # existingClaim: downloads

Using Existing Claims

To use pre-existing PVCs (useful for shared download directories):

persistence:
  config:
    enabled: true
    existingClaim: nzbget-config
  data:
    enabled: true
    existingClaim: shared-downloads

Additional Volumes

For more complex storage setups, use volumes and volumeMounts:

volumes:
  - name: completed
    nfs:
      server: nas.local
      path: /volume1/downloads/completed
  - name: intermediate
    persistentVolumeClaim:
      claimName: intermediate-pvc

volumeMounts:
  - name: completed
    mountPath: /completed
  - name: intermediate
    mountPath: /intermediate

Config Bootstrapping

The chart can seed NZBGet's nzbget.conf on first run when bootstrap.enabled is true. This is useful for pre-configuring settings before NZBGet starts. By default, the config file is only created if it doesn't already exist, preserving existing configurations.

[!NOTE] Bootstrap requires persistence.config.enabled to be true.

[!TIP] If bootstrap.config is empty (the default), NZBGet will create its own default configuration on first startup. This is typically sufficient for most deployments.

Set bootstrap.overwrite: true to enforce the config on every startup. This is useful for GitOps workflows where the config is managed externally:

bootstrap:
  enabled: true
  overwrite: true  # Always apply config, even if file exists
  existingConfig:
    type: configMap
    name: nzbget-managed-config
    key: nzbget.conf

Inline config creates a ConfigMap automatically:

bootstrap:
  enabled: true
  config: |
    MainDir=/data
    DestDir=${MainDir}/completed
    InterDir=${MainDir}/intermediate
    NzbDir=${MainDir}/nzb
    QueueDir=${MainDir}/queue
    TempDir=${MainDir}/tmp
    WebDir=${AppDir}/webui
    ConfigTemplate=${AppDir}/webui/nzbget.conf.template
    ControlIP=0.0.0.0
    ControlPort=6789
    ControlUsername=nzbget
    ControlPassword=tegbzn6789

To use an existing ConfigMap or Secret:

bootstrap:
  enabled: true
  existingConfig:
    type: secret  # or "configMap"
    name: nzbget-config
    key: nzbget.conf

Ingress

Enable ingress to expose NZBGet externally:

ingress:
  enabled: true
  className: nginx
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt
  hosts:
    - host: nzbget.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: nzbget-tls
      hosts:
        - nzbget.example.com

Default Credentials

The default NZBGet credentials are:

  • Username: nzbget
  • Password: tegbzn6789

[!WARNING] Change the default credentials immediately after installation, especially if exposing NZBGet via ingress.

Configuration

KeyTypeDefaultDescription
nameOverridestring""Override the release name.
fullnameOverridestring""Override the full release name.
replicaCountint1Number of replicas.
strategyobject{"type":"Recreate"}Deployment update strategy.
imagePullSecretslist[]Image pull secrets.
deploymentAnnotationsobject{}Annotations for the Deployment.
extraDeploymentLabelsobject{}Additional labels for the Deployment.
podAnnotationsobject{}Annotations for pods.
podLabelsobject{}Additional labels for pods.
commonLabelsobject{}Labels to add to all resources.
podSecurityContextobject{}Pod security context.
image.repositorystring"linuxserver/nzbget"Image repository.
image.tagstring""Image tag (defaults to chart appVersion).
image.pullPolicystring"IfNotPresent"Image pull policy.
securityContextobject{}Container security context.
resourcesobject{}Resource requests and limits.
portslist[{"containerPort":6789,"name":"http","protocol":"TCP"}]Container ports.
startupProbeobject{}Startup probe configuration.
livenessProbeobject{}Liveness probe configuration.
readinessProbeobject{}Readiness probe configuration.
envobject{} (see values.yaml comments for examples)Environment variables.
envFromlist[]Environment variables from ConfigMaps or Secrets.
bootstrap.enabledboolfalseCreate a nzbget.conf file if missing. Requires persistence.config.enabled=true.
bootstrap.overwriteboolfalseOverwrite config on every startup (useful for GitOps-managed configs).
bootstrap.mountPathstring"/config"Directory containing the configuration file.
bootstrap.configstringEmpty (nzbget creates default config on first run).Initial configuration content (used when existingConfig.type is empty).
bootstrap.existingConfig.typestring""Source type for existing config: "configMap", "secret", or "" (use bootstrap.config).
bootstrap.existingConfig.namestring""Name of the ConfigMap or Secret.
bootstrap.existingConfig.keystring"nzbget.conf"Key containing the configuration data.
persistence.config.enabledbooltrueEnable persistence for config.
persistence.config.mountPathstring"/config"Mount path.
persistence.config.subPathstring""Subdirectory of the volume to mount (optional).
persistence.config.storageClassstring""Storage class ("-" for default, "" for cluster default).
persistence.config.accessModeslist["ReadWriteOnce"]Access modes.
persistence.config.sizestring"1Gi"Volume size.
persistence.config.existingClaimstring""Use existing PVC (disables provisioning).
persistence.config.extraLabelsobject{}Additional labels for PVCs created by this chart.
persistence.config.annotationsobject{}PVC annotations.
persistence.data.enabledbooltrueEnable persistence for data.
persistence.data.mountPathstring"/data"Mount path.
persistence.data.subPathstring""Subdirectory of the volume to mount (optional).
persistence.data.storageClassstring""Storage class ("-" for default, "" for cluster default).
persistence.data.accessModeslist["ReadWriteOnce"]Access modes.
persistence.data.sizestring"100Gi"Volume size.
persistence.data.existingClaimstring""Use existing PVC (disables provisioning).
persistence.data.extraLabelsobject{}Additional labels for PVCs created by this chart.
persistence.data.annotationsobject{}PVC annotations.
volumeMountslist[]Additional volume mounts.
service.typestring"ClusterIP"Service type.
service.portint6789Service port.
ingress.enabledboolfalseEnable Ingress.
ingress.classNamestring""Ingress class name.
ingress.annotationsobject{}Ingress annotations.
ingress.hostslist[{"host":"nzbget.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Ingress hosts.
ingress.tlslist[]Ingress TLS configuration.
initContainerslist[]Additional init containers.
extraContainerslist[]Additional containers.
volumeslist[]Additional volumes.
nodeSelectorobject{}Node selector.
tolerationslist[]Tolerations.
affinityobject{}Affinity rules.

License

MIT - see LICENSE.

Deploy nzbget with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nzbget 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 chartnzbget is pinned at v0.2.2 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