From 9f98f962205aa7c06b72f10f5dde19f1099c9b87 Mon Sep 17 00:00:00 2001 From: Null Pointer Nancy Date: Thu, 12 Mar 2026 14:16:56 +0000 Subject: [PATCH] ci: remove helm/kubectl Polaris deploy steps from E2E workflow Polaris is already installed on the CI cluster. The E2E workflow was failing because the runner SA lacks RBAC to deploy to the polaris namespace. Remove Setup Helm, Setup kubectl, Deploy Polaris, Apply RBAC, and Wait for readiness steps. Resolves: PRI-28, PRI-109 --- .github/workflows/e2e.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index c328ca7..9685c69 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -65,30 +65,6 @@ jobs: echo "::warning::Version mismatch — repo has $EXPECTED but Headlamp runs $DEPLOYED_VERSION. Tests may fail due to stale plugin." fi - - name: Setup Helm - uses: azure/setup-helm@v4 - - - name: Setup kubectl - uses: azure/setup-kubectl@v4 - - - name: Deploy Polaris to CI cluster - run: | - helm repo add fairwinds-stable https://charts.fairwinds.com/stable - helm repo update - helm upgrade --install polaris fairwinds-stable/polaris \ - --namespace polaris --create-namespace \ - --set dashboard.enabled=true \ - --set webhook.enabled=false \ - --wait --timeout 5m - - - name: Apply RBAC - run: kubectl apply -f deployment/polaris-rbac.yaml - - - name: Wait for Polaris dashboard readiness - run: | - kubectl rollout status deployment/polaris-dashboard -n polaris --timeout=120s - kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=polaris,app.kubernetes.io/component=dashboard -n polaris --timeout=120s - - name: Install Playwright browsers run: npx playwright install --with-deps chromium -- 2.52.0