fix: add RBAC apply step to E2E workflow (PRI-550)

Adds 'kubectl apply -f deployment/e2e-ci-runner-rbac.yaml' step to
the E2E workflow before the deploy script runs.

Also corrects E2E_NAMESPACE from headlamp-dev to privilegedescalation-dev
to match the actual namespace where Arc Runners operates.

Fixes PRI-550.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-05-04 19:30:17 +00:00
committed by Hugh Hackman [agent]
parent 84bd885b56
commit 25530faf84
+4 -1
View File
@@ -19,7 +19,7 @@ concurrency:
cancel-in-progress: false
env:
E2E_NAMESPACE: headlamp-dev
E2E_NAMESPACE: privilegedescalation-dev
E2E_RELEASE: headlamp-e2e
# Pin to a known-good Headlamp version. Using :latest is risky because
# the tag can change between CI runs, causing flaky failures when a newer
@@ -51,6 +51,9 @@ jobs:
- name: Build plugin
run: npx @kinvolk/headlamp-plugin build
- name: Apply RBAC for E2E runner
run: kubectl apply -f deployment/e2e-ci-runner-rbac.yaml
- name: Deploy E2E Headlamp instance
run: scripts/deploy-e2e-headlamp.sh