From 07bcfa084afab118abaf8388117c83f782132600 Mon Sep 17 00:00:00 2001 From: "null-pointer-nancy[bot]" <266300690+null-pointer-nancy[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 22:13:11 +0000 Subject: [PATCH] ci: remove helm/kubectl Polaris deploy steps from E2E workflow (#38) 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 Co-authored-by: Null Pointer Nancy --- .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