heimdall

by HelmForge

Helm chartv1.2.2App 2.8.4Apache-2.0Verified publisher

A Helm chart for deploying Heimdall application dashboard on Kubernetes

About this chart

Heimdall

A Helm chart for deploying Heimdall application dashboard on Kubernetes using the linuxserver/heimdall Docker image.

Installation

HTTPS Repository

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install heimdall helmforge/heimdall

OCI Registry

helm install heimdall oci://ghcr.io/helmforgedev/helm/heimdall

Features

  • LinuxServer.io Image — based on the maintained linuxserver/heimdall container
  • Persistent Storage — SQLite database and settings stored in /config
  • S3-Compatible Backup — CronJob that creates a tar archive of /config and uploads to any S3 endpoint
  • Workload Identity — S3 backups can use ambient cloud credentials through a dedicated ServiceAccount
  • Ingress Support — configurable ingress with TLS for HTTPS access
  • PUID/PGID — file ownership control for the container
  • Hardened Defaults — no API token, restricted capabilities, seccomp, and ingress NetworkPolicy

Documentation

  • Chart Design
  • Operations Guide
  • Backup Guide
  • Security Guide
  • Heimdall Source

Security Scan: heimdall

FrameworkScore
MITRE + NSA + SOC272.73%

Security posture acceptable with operator-provided resource limits, security contexts, and network policy.

Configuration

Set a non-empty image.repository and image.tag; the chart rejects empty values before creating a workload.

heimdall.containerPort configures the real NGINX listener. It is independent from service.port, which controls only the Kubernetes Service port.

Use commonAnnotations to apply annotations to every chart-owned resource. Resource-specific annotations take precedence when the same key is configured.

Examples

Minimal

# Just install — defaults work out of the box

Production with Ingress and Backup

heimdall:
  timezone: "America/New_York"

ingress:
  enabled: true
  ingressClassName: traefik
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
  hosts:
    - host: dashboard.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: heimdall-tls
      hosts:
        - dashboard.example.com

backup:
  enabled: true
  schedule: "0 3 * * *"
  s3:
    endpoint: https://s3.amazonaws.com
    bucket: my-backups
    prefix: heimdall
    existingSecret: heimdall-s3-credentials

Parameters

Heimdall Settings

KeyDefaultDescription
heimdall.puid1000User ID for file permissions
heimdall.pgid1000Group ID for file permissions
heimdall.timezone"UTC"Timezone
heimdall.containerPort80HTTP port used by the Heimdall NGINX process

Persistence

KeyDefaultDescription
persistence.enabledtrueEnable persistent storage for /config
persistence.size1GiVolume size
persistence.existingClaim""Use an existing PVC

S3 Backup

KeyDefaultDescription
backup.enabledfalseEnable S3 backup CronJob
backup.schedule"0 3 * * *"Cron schedule
backup.s3.endpoint""S3-compatible endpoint URL
backup.s3.bucket""S3 bucket name
backup.s3.prefixheimdallS3 key prefix
backup.s3.region""AWS region used by workload identity
backup.s3.credentialsFromPodIdentityfalseUse ambient workload identity instead of static credentials
backup.s3.existingSecret""Existing secret with S3 credentials
backup.serviceAccount.createtrueCreate a dedicated backup ServiceAccount in workload identity mode
backup.serviceAccount.name""Existing backup ServiceAccount name when creation is disabled
backup.serviceAccount.annotations{}Workload identity annotations for the backup ServiceAccount

Service

KeyDefaultDescription
service.typeClusterIPService type
service.port80Service port

Ingress

KeyDefaultDescription
ingress.enabledfalseEnable ingress
ingress.ingressClassName""Ingress class (traefik, nginx, etc.)
ingress.hosts[]Ingress hosts and paths
ingress.tls[]TLS configuration

Security

The chart disables Kubernetes API token automount, applies RuntimeDefault seccomp, disables privilege escalation, minimizes Linux capabilities, and creates an ingress NetworkPolicy by default. The main process still starts as root because the LinuxServer /init sequence must prepare /config before switching to PUID/PGID; see the Security Guide for the documented exception and network boundaries.

KeyDefaultDescription
serviceAccount.createfalseCreate a dedicated ServiceAccount
serviceAccount.automountServiceAccountTokenfalseMount a Kubernetes API token in the pod
networkPolicy.enabledtrueRestrict server ingress to the named HTTP port
networkPolicy.extraIngress[]Additional complete ingress rules
podSecurityContext.seccompProfile.typeRuntimeDefaultPod seccomp profile
securityContext.allowPrivilegeEscalationfalsePermit privilege escalation
securityContext.readOnlyRootFilesystemfalseRead-only root filesystem; disabled for s6-overlay compatibility

Probes and Scheduling

Startup, readiness, and liveness probes use the named http port and expose path, delay, period, timeout, and failure threshold settings in values.yaml. Resources, scheduling, labels, annotations, extra volumes, mounts, manifests, and image pull secrets remain fully operator-configurable. The complete values contract is documented inline in values.yaml and enforced by values.schema.json.

Architecture

One Deployment runs LinuxServer's NGINX, PHP-FPM, and Heimdall processes. A single persistent /config volume contains SQLite data, settings, and assets; the Deployment therefore uses Recreate and intentionally does not expose a replica setting. The optional backup CronJob archives that same volume to S3. See Chart Design for boundaries and tradeoffs.

Troubleshooting

Inspect readiness, logs, events, and the effective NGINX listener:

kubectl get pods -l app.kubernetes.io/instance=<release>
kubectl logs -l app.kubernetes.io/instance=<release> --all-containers --tail=100
kubectl get events --sort-by=.lastTimestamp
kubectl exec deploy/<release>-heimdall -c heimdall -- grep 'listen .* default_server' /config/nginx/site-confs/default.conf

Write failures under /config usually mean heimdall.puid or heimdall.pgid does not match the volume's ownership. Connection failures on a custom listener should be checked against both heimdall.containerPort and service.port.

Notes

  • Heimdall uses SQLite internally — only a single replica is supported
  • the deployment uses Recreate strategy to avoid SQLite locking issues during upgrades
  • backup creates a tar archive of the entire /config directory including the SQLite database
  • for file permission issues, adjust heimdall.puid and heimdall.pgid to match your storage

More Information

Deploy heimdall with OpenTenant

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