homepage

by m0sh1

Helm chartv0.3.1App v1.11.0

Helm chart for Homepage dashboard

About this chart

Homepage Helm Chart

Helm chart for Homepage using the bjw-s/common library.

Requirements

  • Kubernetes >= 1.28
  • An Ingress controller (optional)
  • Metrics server (optional, for Kubernetes widgets)

Notes

  • Set controllers.main.containers.main.env[HOMEPAGE_ALLOWED_HOSTS] to your hostname.
  • Config files are mounted into /app/config from a generated ConfigMap.
  • Enable RBAC with rbac.enabled: true to use Kubernetes integration.

Values (overview)

KeyTypeDefaultDescription
controllers.main.containers.main.image.repositorystringghcr.io/gethomepage/homepageContainer image repository
controllers.main.containers.main.image.tagstringv1.8.0Container image tag
controllers.main.containers.main.envlist[]Environment variables (set HOMEPAGE_ALLOWED_HOSTS)
service.main.ports.http.portint3000Service port
ingress.main.enabledboolfalseEnable ingress
rbac.enabledboolfalseEnable RBAC
serviceAccount.homepage.enabledboolfalseCreate service account
config.useExistingConfigMapstring""Use an existing ConfigMap
config.extraFilesmap{}Extra config files mounted into /app/config
persistence.logs.enabledbooltrueEnable logs volume

For full configuration options, see values.yaml.

Examples

Basic install:

controllers:
  main:
    containers:
      main:
        env:
          - name: HOMEPAGE_ALLOWED_HOSTS
            value: home.example.com

ingress:
  main:
    enabled: true
    className: traefik
    hosts:
      - host: home.example.com
        paths:
          - path: /
            pathType: Prefix
            service:
              identifier: main
              port: http
    tls:
      - hosts:
          - home.example.com
        secretName: wildcard-example

Enable Kubernetes widgets:

rbac:
  enabled: true

config:
  kubernetes:
    mode: cluster
  widgets:
    - kubernetes:
        cluster:
          show: true
          cpu: true
          memory: true
          showLabel: true
          label: cluster
        nodes:
          show: true
          cpu: true
          memory: true
          showLabel: true

Deploy homepage with OpenTenant

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