ci: add Polaris RBAC apply and readiness check to E2E workflow

The E2E tests fail because the CI runner lacks RBAC permissions to
proxy to the Polaris dashboard service. Apply the RBAC manifest
(added in this PR) and verify Polaris is reachable before running tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
gandalf-the-greybeard[bot]
2026-03-08 17:10:18 +00:00
parent d00fabbd58
commit 6ce27421c6
+8
View File
@@ -25,6 +25,14 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Configure RBAC for Polaris dashboard proxy access
run: kubectl apply -f deployment/polaris-rbac.yaml
- name: Verify Polaris dashboard is reachable
run: |
kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=polaris -n polaris --timeout=120s
kubectl get svc polaris-dashboard -n polaris
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium