Commit Graph

5 Commits

Author SHA1 Message Date
Chris Farhood 68e417da11 style: format OverviewPage.tsx per prettier
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-04 20:36:58 +00:00
Chris Farhood 7ac6e6caa8 fix(kube-vip): revert docs namespace to kube-system (PRI-562)
Revert CLAUDE.md, README.md, and SECURITY.md namespace references from
'headlamp' back to 'kube-system' to match src/api/k8s.ts KUBE_VIP_NAMESPACE.

The source code uses 'kube-system' as the namespace constant; docs must
match code to avoid misleading users.

Also fixes hardcoded namespace string in OverviewPage.tsx to use
KUBE_VIP_NAMESPACE constant instead of literal 'kube-system'.

Option A per PRI-562 QA guidance.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-04 20:34:29 +00:00
DevContainer User 5c57f52abc style: reformat with prettier to resolve eslint/prettier conflict
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 12:46:54 +00:00
DevContainer User f26d1414b2 fix: resolve bugs in ServicesPage, NodesPage, and k8s helpers
- Add missing useEffect dependency array and useCallback for closePanel
- Fix invalid StatusLabel status="" to "info" for non-kube-vip services
- Add ARIA dialog attributes to service detail panel
- Use phaseToStatus() in NodesPage instead of hardcoded Running check
- Remove dead code in getNodeVipLabel (label keys never contain =)
- Simplify redundant lease lookup in OverviewPage
- Fix 46 ESLint indentation warnings
- Add CHANGELOG.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 12:43:23 +00:00
DevContainer User 3b9d007e8b feat: initial kube-vip Headlamp plugin
Headlamp plugin providing visibility into kube-vip virtual IP and load
balancer deployments. Features:

- Overview dashboard with deployment status, VIP mode, leader election
- Services page with LoadBalancer VIP assignments and detail panels
- Nodes page showing kube-vip pod status and leader designation
- Configuration page with DaemonSet config, IP pools, leases
- Service detail section injected into native Headlamp Service views

Read-only plugin — no cluster write operations. Uses standard K8s
resources (no CRDs): Services, Nodes, Pods, DaemonSets, Leases,
ConfigMaps with kube-vip.io/* annotations.

74 tests across 7 test files. All tsc/lint/format/test checks pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 00:23:08 +00:00