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 <nancy@privilegedescalation.dev>
This commit was merged in pull request #38.
This commit is contained in:
null-pointer-nancy[bot]
2026-03-12 22:13:11 +00:00
committed by GitHub
parent 1755cedd88
commit 07bcfa084a
-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