glance

by QuenchWorks

Helm chartv0.0.4App 0.8.8AGPL-3.0Verified publisher

Glance: a self-hosted dashboard that puts feeds, bookmarks, releases, weather and service status on one page. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks Glance

Hardened Glance, a self-hosted dashboard that puts feeds, bookmarks, releases, weather and service status on one page, CVE-gated, cosign-signed and pinned by digest. The image is one static Go binary built from source on a nonroot Wolfi base.

Install

helm install glance oci://ghcr.io/quenchworks/charts/glance
kubectl port-forward svc/glance 8080

Configure

The dashboard is config, rendered as glance.yml (see the configuration docs). server.port is fixed by the chart. Put secrets in a Secret, pass it with extraEnvVarsSecret, and reference them as ${VAR} in the config:

config:
  pages:
    - name: Home
      columns:
        - size: full
          widgets:
            - type: monitor
              sites:
                - title: Grafana
                  url: http://grafana.monitoring:3000/api/health
extraConfigFiles:
  bookmarks.yml: |
    - type: bookmarks
      groups: []

Files in extraConfigFiles sit beside glance.yml in /app/config, for !include:. A config change rolls the pods. Glance has no login: keep the Service internal or put an authenticating proxy in front.

TLS

Glance serves plain HTTP. With tls.enabled a caddy sidecar terminates HTTPS on 8443 (Service port service.httpsPort) and proxies to Glance over localhost. The certificate comes from tls.existingSecret, else a cert-manager Certificate, else a Helm-generated CA (ca.crt in the Secret <fullname>-tls).

Verify the image

cosign verify ghcr.io/quenchworks/images/glance \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Values

KeyDefaultDescription
configa sample pageglance.yml
extraConfigFiles{}More files in /app/config for !include
replicaCount1Stateless; scale freely
extraEnvVarsSecret""Secret with values for ${VAR} in the config
service.port8080HTTP Service port
service.httpsPort443HTTPS Service port, only with tls.enabled
tls.enabledfalsecaddy sidecar serves HTTPS on 8443
tls.existingSecret""a kubernetes.io/tls Secret to use (1st choice)
tls.certManager.enabledfalserequest a cert-manager Certificate (2nd choice)
tls.selfSigned.validityDays365otherwise Helm generates a CA + certificate
proxy.image.digest(pinned)the TLS sidecar image

Deploy glance with OpenTenant

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