Homepage dashboard improvements #76

Merged
eblume merged 13 commits from feature/homepage-dashboard-updates into main 2026-01-30 15:05:03 -08:00
2 changed files with 32 additions and 0 deletions
Showing only changes of commit 7ae1a4c03b - Show all commits

Add OpenWeatherMap weather widget to Homepage

- ExternalSecret pulls API key from 1Password
- Widget shows weather for Camano area
- Uses imperial units with 15min cache

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Erich Blume 2026-01-30 14:54:04 -08:00

View file

@ -0,0 +1,20 @@
# ExternalSecret for OpenWeatherMap API key
# Used by Homepage weather widget
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: homepage-openweathermap
namespace: homepage
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-blumeops
target:
name: homepage-openweathermap
creationPolicy: Owner
data:
- secretKey: apikey
remoteRef:
key: OpenWeatherMap
property: credential

View file

@ -27,6 +27,11 @@ ingress:
env:
- name: HOMEPAGE_ALLOWED_HOSTS
value: "go.tail8d86e.ts.net,go.ops.eblu.me"
- name: HOMEPAGE_VAR_OPENWEATHERMAP_API_KEY
valueFrom:
secretKeyRef:
name: homepage-openweathermap
key: apikey
config:
# Host services (non-k8s, on indri or LAN)
@ -89,6 +94,13 @@ config:
# Widgets on the page
# Note: Kubernetes widget disabled - requires metrics-server
widgets:
- openweathermap:
label: Camano
latitude: 48.18235
longitude: -122.52590
units: imperial
apiKey: "{{HOMEPAGE_VAR_OPENWEATHERMAP_API_KEY}}"
cache: 15
- search:
provider: custom
url: https://kagi.com/search?q=