glance
A customizable self-hosted dashboard for feeds, services and homelab monitoring.
About this chart
Ad Noctem Collective - Glance Helm Chart
Glance is a self-hosted dashboard for feeds, bookmarks, services and homelab monitoring. It supports customizable page layouts, themes, authentication and a wide range of widgets, including RSS feeds, calendars, repository releases and custom API integrations. It delivers all of these features within a single Docker image available on Docker Hub.
Head to the Glance GitHub Repository for in-depth documentation and configuration guides.
✨ TL;DR
Helm Repository Installation
helm repo add adnoctem https://adnoctem.github.io/charts
helm install glance adnoctem/glance --version X.Y.Z
OCI Installation
helm install glance oci://ghcr.io/adnoctem/charts/glance --version X.Y.Z
Introduction
This chart bootstraps a Glance Deployment on a Kubernetes cluster using the Helm package manager. For cluster networking a Service and Ingress manifest is also created, whereas the Ingress needs to be explicitly enabled. Lastly the chart configures a PodDisruptionBudget if enabled. The chart requires Kubernetes 1.26 or later and Helm 3.
The chart supports all documented Glance configuration options
via the glance key in Helm's values and makes use of the official Docker Hub container image, although this is
configurable via the Image Parameters. The default application version is Glance v0.8.8.
Application configuration
Set application configuration under glance, using upstream's native property names.
All 28 documented widget types and their nested configuration fields are supported.
See the widget reference, the commented examples in values.yaml, and
Glance's configuration documentation.
The image is pinned to a release; review upstream configuration changes before overriding it with another version.
Pages, columns and widget lists retain their order. Helm replaces lists rather than merging individual entries.
Each page has one to three columns, including one or two full columns. A slim page allows at most two columns.
Groups cannot contain other groups or split columns; split columns may contain groups.
YAML anchors work within a values file. Unknown top-level Glance keys may hold anchor definitions.
Widget configuration is passed through to Glance, which validates it at startup.
Custom API templates, HTML, CSS and included files are emitted literally: the chart never calls Helm's tpl on them.
Arbitrary custom API request bodies, options and subrequests retain their data types, including null, false and zero.
Glance variable substitutions are preserved in widget fields and resolved by Glance at runtime.
glance.server.port must be a literal integer and assets-path a literal container path because they also configure Kubernetes resources.
Authentication and secrets
Authentication is disabled until glance.auth.users contains users. Each user requires exactly one of password or password-hash.
Generate a signing key with glance secret:make, and hashes with glance password:hash <password>.
Use an existing Secret for credentials:
glance:
auth:
secret-key: ${secret:auth-key}
users:
admin:
password-hash: ${secret:admin-password-hash}
secretFiles:
- name: glance-credentials
items:
- key: signing-key
path: auth-key
- key: admin-hash
path: admin-password-hash
Create glance-credentials separately in the release namespace. Selected keys are projected under /run/secrets.
Paths must be unique across all projected Secrets. This mechanism works for every widget token/password field.
extraEnvVars accepts Kubernetes valueFrom references for ${NAME} substitutions; extraEnvVarsSecret and
extraEnvVarsConfigMap expose whole resources via envFrom. ${readFileFromEnv:NAME} works with an environment
variable holding a file path and a corresponding entry in volumes/volumeMounts.
The chart renders glance into a ConfigMap: literal credentials placed there are not automatically moved to a Secret.
Keep credential values in external Secrets. Helm also stores supplied values in its release history.
The chart creates no credentials and performs no cluster lookups.
Included and external configuration
For $include, add literal files to config.files:
glance:
pages:
- $include: home.yml
config:
files:
home.yml: |
- name: Home
columns:
- size: full
widgets:
- type: calendar
Included list fragments must contain their own leading dashes. Glance performs inclusion before YAML parsing.
Includes are supported in page, column and widget lists; included contents are validated by Glance rather than Helm.
Use config.existingConfigMap or config.existingSecret for a complete configuration, including more complex include arrangements.
Either source must contain glance.yml and every referenced sibling file. Only one external source is allowed;
config.files cannot be combined with an external source. Generated glance configuration is bypassed in this mode.
Keep glance.server.port and glance.server.assets-path aligned with the external file so probes, ports and mounts match.
Configuration is mounted as a directory. Chart-managed configuration and asset changes roll pods on Helm upgrades. External ConfigMap, Secret and PVC content changes do not alter the pod checksum; explicitly restart the Deployment after changing them:
kubectl --namespace glance rollout restart deployment/glance
Glance supports file watching, but Kubernetes projected-volume update behavior is not guaranteed to trigger its watcher. Environment changes require a restart. Glance validates configuration at startup and rejects invalid configurations.
Assets and persistence
assets.files creates a ConfigMap for text assets such as CSS, JavaScript and SVG. Set
glance.theme.custom-css-file: /assets/user.css to use a user.css entry.
Alternatively use assets.existingConfigMap (including binaryData for binary assets) or assets.existingClaim.
Only one asset source is allowed. Files mount at glance.server.assets-path and are served under /assets/.
With no asset source, an empty directory is mounted so the default assets path exists.
Use an existing PVC for large asset collections; ConfigMaps have Kubernetes size limits.
Glance requires no database or application data PVC. Widget caches and authentication rate limits are per process. To-do items live in the browser's local storage; mounting a server volume does not synchronize them. Multiple replicas have independent caches and rate limits. Use a shared signing key when authentication is enabled.
Networking and monitoring
Set glance.server.proxied: true when a trusted reverse proxy supplies forwarded headers.
For a subpath, set glance.server.base-url and configure the ingress controller to strip the prefix before forwarding.
The chart does not infer controller-specific rewrite annotations. Direct port-forwarding reaches the backend at /;
subpath deployments should be accessed through their configured reverse proxy.
Ingress TLS terminates at the ingress controller; Glance serves HTTP inside the pod.
TCP startup, readiness and liveness probes use the named HTTP port and work independently of authentication and URL prefixes. They check the listener, not individual widget data sources. Glance needs network access to whichever feeds/APIs its widgets use.
Docker monitoring is opt-in via dockerSocket.enabled. It requires a Docker daemon on the selected node and matching
widget sock-path. It does not discover Kubernetes pods on containerd or CRI-O. A Docker socket grants host control,
even through a read-only mount. Configure scheduling and socket permissions for your environment.
Local server statistics reflect the container's visible environment. Remote statistics require a separately deployed
Glance Agent; configure its URL and token in a server-stats widget.
Local installation
To install from this checkout and access the dashboard locally:
helm install glance ./charts/glance --namespace glance --create-namespace
kubectl --namespace glance port-forward svc/glance 8080:8080
Open http://localhost:8080. Repository and OCI installation become available after the chart is published.
Upgrading
To 0.2.0 (Glance v0.8.6 -> v0.8.8)
Glance v0.8.7 restores Reddit feeds after upstream API
changes, but Reddit widget search now requires app-auth. Configure the Reddit application's name, id and
secret in each affected widget, using environment or Secret-file substitutions for credentials as described
above. Alternatively, remove search to display the unfiltered subreddit feed. Check included files and external
configuration sources as well as widgets in glance.pages.
Glance v0.8.8 fixes release, search, markets, change-detection and Docker widgets and adds security hardening. Across these releases, authentication request bodies are limited to 512 KiB, and several widget response readers (including RSS, custom API, extension and shared JSON requests) reject responses larger than 10 MiB. If a widget reports a response-size error, reduce the upstream payload, for example through pagination or filtering. The HTTP server now limits header reads to five seconds and request reads to ten seconds; unusually slow clients or proxies may need adjustment.
The chart's values interface, ports and mounts are unchanged, and no database migration is required. The optional
search widget also accepts brave as a search engine. image.tag remains empty by default, selecting Chart.appVersion;
existing explicit tag or digest overrides still take precedence.
Widget configuration reference
Place widgets in glance.pages[].columns[].widgets or glance.pages[].head-widgets.
All 28 documented widget types are supported, including nested widgets.
Glance resolves ${NAME}, ${secret:name} and ${readFileFromEnv:NAME} substitutions at runtime.
See upstream configuration
for behavior, defaults and examples. The commented examples in values.yaml cover every widget.
Every widget accepts title, title-url, hide-header, cache and css-class.
rss
| Field | Type | Required |
|---|---|---|
thumbnail-height | number | no |
card-height | number | no |
limit | integer | no |
preserve-order | boolean | no |
single-line-titles | boolean | no |
collapse-after | integer | no |
style | vertical-list / detailed-list / horizontal-cards / horizontal-cards-2 | no |
feeds | array of feed | yes |
videos
| Field | Type | Required |
|---|---|---|
channels | array of string | no |
playlists | array of string | no |
limit | integer | no |
collapse-after | integer | no |
collapse-after-rows | integer | no |
include-shorts | boolean | no |
video-url-template | string | no |
style | horizontal-cards / grid-cards / vertical-list | no |
hacker-news
| Field | Type | Required |
|---|---|---|
limit | integer | no |
collapse-after | integer | no |
comments-url-template | string | no |
extra-sort-by | string | no |
sort-by | top / new / best | no |
lobsters
| Field | Type | Required |
|---|---|---|
instance-url | string | no |
custom-url | string | no |
limit | integer | no |
collapse-after | integer |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartglance is pinned at v0.2.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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