glance

by lbenicio

Helm chartv0.1.3App latestVerified publisher

A Helm chart for glance

About this chart

glance

A self-hosted dashboard that puts all your feeds, widgets, and information at a glance.

TL;DR

helm repo add lbenicio-community https://helm.lbenicio.dev/
helm install my-release lbenicio-community/glance

Introduction

This chart deploys Glance, a fast and customizable startpage/dashboard application written in Go. It aggregates RSS feeds, Reddit, Hacker News, weather, bookmarks, and more into a single page. The chart ships with a default glance.yml configuration that you can override to build your own dashboard layout.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.x+

Installing the Chart

helm install my-release lbenicio-community/glance --namespace default

Parameters

KeyTypeDefaultDescription
image.repositorystringglanceapp/glanceContainer image repository
image.tagstring""Image tag (defaults to Chart.appVersion)
image.pullPolicystringIfNotPresentImage pull policy
replicaCountint1Number of replicas
service.typestringClusterIPService type
service.portint8080HTTP service port
ingress.enabledboolfalseEnable ingress
ingress.classNamestring""Ingress class name
ingress.hostslist[{"host":"glance.local","paths":[{"path":"/","pathType":"Prefix"}]}]Ingress host rules
ingress.tlslist[]Ingress TLS configuration
config.createbooltrueCreate the ConfigMap for glance.yml
config.glanceYamlstring(see values.yaml)Glance configuration (glance.yml)
config.userCSSstring/* Add your custom CSS here */Custom CSS injected into the UI
resources.requests.cpustring100mCPU request
resources.requests.memorystring128MiMemory request
resources.limits.cpustring500mCPU limit
resources.limits.memorystring256MiMemory limit
autoscaling.enabledboolfalseEnable HPA
autoscaling.minReplicasint1Minimum replicas
autoscaling.maxReplicasint1Maximum replicas
autoscaling.targetCPUUtilizationPercentageint90Target CPU utilization
keel.enabledboolfalseEnable Keel auto-update annotations
keel.policystringforceKeel update policy
keel.triggerstringpollKeel trigger type

Configuration

glance.yml

The chart creates a ConfigMap from config.glanceYaml. Override it to customize your dashboard with widgets like RSS, Hacker News, Reddit, weather, and more:

config:
  glanceYaml: |-
    server:
      port: 8080

    pages:
      - name: My Dashboard
        columns:
          - size: small
            widgets:
              - type: calendar
                first-day-of-week: monday

          - size: full
            widgets:
              - type: rss
                title: News
                feed: https://example.com/feed.xml

              - type: weather
                location: London, UK

              - type: hacker-news

Refer to the Glance configuration docs for all available widgets and options.

Ingress with TLS

Expose Glance securely via ingress with cert-manager:

ingress:
  enabled: true
  className: traefik
  annotations:
    cert-manager.io/cluster-issuer: ca-issuer
  hosts:
    - host: glance.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: glance-tls
      hosts:
        - glance.example.com

Custom CSS

Inject custom styling into the Glance UI:

config:
  userCSS: |
    body { font-family: 'JetBrains Mono', monospace; }
    .widget { border-radius: 8px; }

License

This chart is licensed under GPLv3.


Made with ❤️ by lbenicio

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.1.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