glance

by HelmForge

Helm chartv1.0.3App 0.8.8Apache-2.0Verified publisher

Authenticated, declarative Glance dashboard with secret-backed widgets and restricted Kubernetes runtime.

About this chart

Glance

Glance puts feeds, bookmarks and operational widgets into a configurable dashboard. This chart deploys the official Glance application with native login enabled, retained credentials and a restricted Kubernetes runtime.

Why this chart

  • Private bootstrap with a generated password and the correct 64-byte signing key.
  • Existing Secret and External Secrets support for login and widget credentials.
  • Literal native widget configuration, including custom-api Go templates.
  • Non-root, read-only execution without a Docker socket or Kubernetes API token.
  • Explicit network boundaries, TLS routing integrations and dual-stack Services.
  • Tested session continuity through Helm upgrade and pod replacement.

Architecture

A Deployment runs the official docker.io/glanceapp/glance:v0.8.8 image on port 8080. The application needs no database, cache service or persistent data volume. Configuration lives in a ConfigMap; authentication and widget tokens live in Secrets. The chart configures one native dashboard account. It is not a multi-tenant portal. Multiple replicas share session-signing material but maintain independent caches and authentication rate limits. See DESIGN.md for these boundaries.

Install

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm upgrade --install glance helmforge/glance --namespace glance --create-namespace

OCI is also supported:

helm upgrade --install glance oci://ghcr.io/helmforgedev/helm/glance --namespace glance --create-namespace

Use helm get notes glance -n glance to locate the generated Secret and credentials. Do not expose the Service publicly before configuring TLS and trusted ingress peers.

Quick start

kubectl -n glance rollout status deployment/glance-glance --timeout=120s
kubectl -n glance port-forward svc/glance-glance 8080:8080

Open http://localhost:8080 and sign in as admin using the password from the Secret shown in the notes. The default dashboard contains a HelmForge bookmark and calendar; it does not send tokens to third-party feeds. The localhost tunnel is a lab access path, not a replacement for TLS termination in production.

Production deployment

Start from examples/production.yaml. Create glance-auth and the TLS Secret in the release namespace first. The auth Secret must contain password and secret-key. The signing value is base64 encoding of 64 random bytes. The example uses two replicas, an optional PDB and a restricted ingress controller peer. Adapt hostnames, Secret names and scheduling to the actual cluster.

For an existing Gateway, use examples/gateway.yaml. The Gateway listener owns TLS. A route path match does not strip a URL prefix: subpath users must configure rewriting at the proxy and set server.baseUrl. Keep server.proxied false unless only trusted proxy peers can reach the Service.

Authentication and widgets

See authentication for generated credential retention, External Secrets and rotation. Use an externally owned Secret with offline GitOps renderers; helm template cannot perform cluster lookup. Changing the signing key invalidates existing sessions. Changing an external Secret requires a rollout.

See widget configuration for file interpolation, custom-api templates and scoped egress. config.data uses native Glance syntax and does not evaluate Helm tpl. auth and server are reserved chart-managed sections. Static assets are public; never put credentials into an assets ConfigMap.

Persistence and backup

There is no server-side application database or content PVC. Preserve the complete configuration, credential source and assets. Browser-local Todo data is not part of a Kubernetes backup. Operations explains recovery and the distinction between process availability and third-party feed health.

Monitoring and availability

Native /api/healthz supports startup, readiness and liveness probes. No native Prometheus endpoint was found in this release; use an existing blackbox exporter for HTTP/TLS availability. A ServiceMonitor pointing at ordinary HTML would not provide application metrics. Multiple replicas do not share login rate counters; enforce suitable edge limits for sensitive public dashboards.

Configuration reference

ValueDefaultPurpose
nameOverride""Override the chart name used in resource names.
fullnameOverride""Override the complete resource name.
commonLabels{}Extra resource labels; selector labels are reserved.
commonAnnotations{}Annotations applied to every rendered resource.
replicaCount1Glance replicas. Authentication rate limiting and widget caches are per pod.
image.repositorydocker.io/glanceapp/glanceOfficial upstream Glance image.
image.tagv0.8.8Verified stable image tag.
image.pullPolicyIfNotPresentKubernetes pull policy.
imagePullSecrets[]Registry credentials for a private mirror.
auth.enabledtrueRequire native Glance login. Disable only behind a separately authenticated edge or for public dashboards.
auth.usernameadminInitial dashboard username; all authenticated users see the same dashboard.
auth.password""Password stored only in a Secret. Empty generates and retains a random password.
auth.secretKey""Base64 encoding of exactly 64 random bytes for session signing. Empty generates and retains it.
auth.existingSecret""Existing Secret containing password and secret-key; bypasses generated credentials.
auth.passwordKeypasswordPassword key in the existing Secret.
auth.secretKeyKeysecret-keySigning key in the existing Secret.
server.port8080Container listen port; Service and probes follow this value.
server.proxiedfalseTrust proxy headers. Enable only when network ingress is restricted to trusted proxies.
server.baseUrl""External subpath, such as /glance. The reverse proxy must strip this prefix before forwarding.
config.dataobjectUpstream Glance configuration. auth and server are chart-managed and forbidden here. Go widget templates remain literal; Helm tpl is not applied.
assets.existingConfigMap""Existing ConfigMap containing public static assets mounted at /app/assets. Never put credentials here.
widgetSecrets.sources[]Additional Secret files mounted under /run/secrets; reference with ${secret:filename} in config.data.
extraEnv[]Extra environment variables for Glance configuration substitutions.
envFrom[]Additional envFrom Secret/ConfigMap references.
serviceAccount.createtrueCreate a dedicated ServiceAccount with no API permissions.
serviceAccount.name""Existing or overridden ServiceAccount name.
serviceAccount.annotations{}ServiceAccount annotations.
serviceAccount.automountServiceAccountTokenfalseMount a Kubernetes API token. Glance does not need one.
service.typeClusterIPKubernetes Service type.
service.port8080Service HTTP port.
service.annotations{}Service annotations.
service.ipFamilyPolicy""Service IP family policy; empty uses cluster default.
service.ipFamilies[]Requested address families; RequireDualStack needs a dual-stack cluster.
ingress.enabledfalseEnable Ingress. TLS is configured through ingress.tls.
ingress.ingressClassName""Ingress controller class; empty omits the field.
ingress.annotations{}Controller-specific annotations, including any required prefix stripping.
ingress.hosts[]Host/path rules; at least one explicit host is required when enabled.
ingress.tls[]TLS host/Secret entries.
gatewayAPI.enabledfalseEnable a Gateway API v1 HTTPRoute. Install Gateway API CRDs and a controller first.
gatewayAPI.httpRoutes[].annotations{}HTTPRoute annotations.
gatewayAPI.httpRoutes[].parentRefs[]Existing Gateway parent references, including namespace when appropriate.
gatewayAPI.httpRoutes[].hostnames[]Public DNS hostnames.
gatewayAPI.httpRoutes[].rules[].matches[].path.value/Matched HTTP path. Subpaths require an external prefix-stripping rule.
gatewayAPI.httpRoutes[].rules[].matches[].path.typePathPrefixGateway path match type.
externalSecrets.enabledfalseRender ExternalSecret objects for auth or widget credentials.
externalSecrets.refreshInterval1hDefault operator refresh interval.
externalSecrets.items[]Full ExternalSecret specifications. auth.existingSecret must match the target Secret name.
networkPolicy.enabledtrueIsolate ingress and allow declared outgoing feeds. Requires a NetworkPolicy-capable CNI.
networkPolicy.ingressFrom[]Allowed ingress peers. Empty permits pods in the same namespace only.
networkPolicy.egressIsolationtrueEnable outbound isolation, allowing DNS and configured web ports.
networkPolicy.dnsEgressobjectDNS peers; defaults to cluster pods in any namespace, restricted to DNS ports.
networkPolicy.webEgressobjectDestinations for HTTP/HTTPS feeds. Replace broad CIDRs for a restricted intranet dashboard.
networkPolicy.webPorts[80, 443]Allowed feed ports; TCP only. Internal non-HTTP widgets need extraEgress.
networkPolicy.extraEgress[]Additional egress rules, for example internal APIs on alternate ports.
probes.startup{enabled: true, path: /api/healthz, periodSeconds: 5, timeoutSeconds: 2, failureThreshold: 30}Startup health endpoint; native /api/healthz remains unauthenticated.
probes.liveness{enabled: true, path: /api/healthz, periodSeconds: 20, timeoutSeconds: 3, failureThreshold: 3}Liveness checks process health without depending on external feeds.
probes.readiness{enabled: true, path: /api/healthz, periodSeconds: 10, timeoutSeconds: 3, failureThreshold: 3}Readiness checks the initialized HTTP server.
resourcesobjectResource requests and limits for the Go dashboard; size for widget count and feed payloads.
podSecurityContextobjectNon-root pod identity with RuntimeDefault seccomp.
securityContextobjectRestricted container privileges; all configuration and assets are read-only.
podDisruptionBudget.enabledfalseProtect voluntary disruptions. Requires at least two replicas; no singleton eviction deadlock.
podDisruptionBudget.maxUnavailable1Maximum unavailable pods during voluntary disruption.
podLabels{}Pod labels; immutable selector labels cannot be overridden.
podAnnotations{}Pod annotations, e.g. for an external Secret reloader.
nodeSelector{}Node selection constraints.
tolerations[]Scheduling tolerations.
affinity{}Pod affinity or anti-affinity.
topologySpreadConstraints[]Topology spreading across nodes or zones.
priorityClassName""Scheduling priority class.
terminationGracePeriodSeconds30Grace period for HTTP shutdown.

Examples and prerequisites

ExampleIntended useRequired existing resources
minimalPrivate local dashboardNone
productionTwo replicas behind TLS IngressAuth Secret, TLS Secret and ingress controller
gatewayShared Gateway listenerGateway API CRDs and configured HTTPS listener
secret widgetsAuthenticated release feedsWidget token Secret
external secretsProvider-managed loginESO and configured ClusterSecretStore
public dashboardDeliberately public linksExplicit operator acceptance of anonymous access

CI fixtures are disposable test data, not production credentials. All native configuration examples should be checked against the pinned upstream configuration reference before adding widget-specific options.

Upgrades and recovery

Review upstream releases before upgrading. Confirm the effective image after rollout. Preserve the signing key, username and credential source to retain sessions. With image bumps, blindly using --reuse-values can keep the previous image tag; prefer deliberate values or --reset-then-reuse-values. Test important third-party widgets after upgrading.

To recover onto a new cluster, restore configuration, assets and the Secret source first, then install the chart with the same references. No schema migration or database restore is required for this stateless application. Recover browser data through the browser's own profile backups where appropriate.

Troubleshooting

The operations guide provides symptom-driven checks for login, Secret synchronization, ports, subpath assets, network policy, widgets and scheduling. Start with helm status, Deployment rollout status, pod events and current logs. Do not disable authentication or network isolation merely to hide a failing test.

Validation

Helm tests cover the configuration, credentials, network, routing and scheduling contracts. The chart-owned runtime smoke exercises real login, rejection of empty credentials, rendered widgets, Helm upgrade and pod replacement. A dedicated widget fixture checks Secret interpolation and literal Glance Go templates. The complete HelmForge gate includes CRD schemas and actual k3d deployments.

Security Scan

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 v1.0.3 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