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
This commit is contained in:
Null Pointer Nancy
2026-03-12 14:16:56 +00:00
parent 1755cedd88
commit 9f98f96220
-24
View File
@@ -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