Homepage dashboard improvements #76
2 changed files with 32 additions and 0 deletions
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>
commit
7ae1a4c03b
|
|
@ -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
|
||||
|
|
@ -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=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue