From bac981091c1fa7163d6485e0bc899b3402c44253 Mon Sep 17 00:00:00 2001 From: Snarf Date: Thu, 12 Nov 2026 11:29:56 -0500 Subject: [PATCH] feat(homepage): add Rancher and Harvester cluster capacity widgets --- manifests/spaceport/homepage/homepage.yaml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/manifests/spaceport/homepage/homepage.yaml b/manifests/spaceport/homepage/homepage.yaml index d0bb819..7c0b201 100644 --- a/manifests/spaceport/homepage/homepage.yaml +++ b/manifests/spaceport/homepage/homepage.yaml @@ -219,10 +219,35 @@ data: icon: rancher.png href: https://aerodrome.snarfnet.net description: Kubernetes Management Console + widget: + type: customapi + url: https://aerodrome.snarfnet.net/v3/clusters/local + headers: + Authorization: "Bearer kubeconfig-u-aqzkufonck4hmbd:bw22b96nv8844k8w5r8lzpz8gnk22tjwj95j6nkzr7hd5dhm4bs6z7" + mappings: + - field: capacity.cpu + label: CPU Cores + - field: capacity.pods + label: Max Pods + - field: state + label: Cluster State + - Harvester HCI (Spacedock): icon: harvester.png href: https://harvester.spacedock.snarfnet.net description: HCI Virtualization Hypervisors + widget: + type: customapi + url: https://aerodrome.snarfnet.net/v3/clusters/c-cclnt + headers: + Authorization: "Bearer kubeconfig-u-aqzkufonck4hmbd:bw22b96nv8844k8w5r8lzpz8gnk22tjwj95j6nkzr7hd5dhm4bs6z7" + mappings: + - field: capacity.cpu + label: CPU Cores + - field: capacity.pods + label: Max Pods + - field: state + label: HCI State - Portainer Swarm: icon: portainer.png href: https://shipyard.snarfnet.net