From c4c43cef4043411043340bcd6e60c4e9b3568960 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sat, 7 Feb 2026 20:34:22 -0500 Subject: [PATCH] fix: restore :80 port in service proxy URL The removal of :80 in commit 39d85a3 broke service proxy requests. Kubernetes API requires explicit port specification when services have named ports. Without it, the API server returns "no endpoints available" even though endpoints exist. Root cause: polaris-dashboard service defines port as named "http-dashboard" on port 80. The proxy sub-resource requires either :80 or :http-dashboard suffix to resolve correctly. Fixes the "Polaris dashboard not reachable" error on v0.1.4. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- src/api/polaris.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/polaris.ts b/src/api/polaris.ts index af2ef93..387ddaf 100644 --- a/src/api/polaris.ts +++ b/src/api/polaris.ts @@ -157,7 +157,8 @@ export function computeScore(counts: ResultCounts): number { // --- Data fetching hook --- -const POLARIS_API_PATH = '/api/v1/namespaces/polaris/services/polaris-dashboard/proxy/results.json'; +const POLARIS_API_PATH = + '/api/v1/namespaces/polaris/services/polaris-dashboard:80/proxy/results.json'; interface PolarisDataState { data: AuditData | null;