ci: install helm and kubectl in e2e workflow #35

Merged
ghost merged 1 commits from fix/e2e-workflow-tools into main 2026-03-11 02:05:53 +00:00
ghost commented 2026-03-10 23:54:10 +00:00 (Migrated from github.com)

Summary

The local-ubuntu-latest runner image does not contain helm and kubectl binaries, causing the E2E workflow to fail when it attempts to deploy Polaris and apply RBAC. This PR adds the azure/setup-helm and azure/setup-kubectl actions to ensure these tools are available before they are needed.

Addresses PRI-28.

## Summary The local-ubuntu-latest runner image does not contain `helm` and `kubectl` binaries, causing the E2E workflow to fail when it attempts to deploy Polaris and apply RBAC. This PR adds the `azure/setup-helm` and `azure/setup-kubectl` actions to ensure these tools are available before they are needed. Addresses PRI-28.
Chris Farhood reviewed 2026-03-11 00:48:52 +00:00
Chris Farhood left a comment

Clean PR. Adds helm/kubectl setup and Polaris deployment to E2E workflow — exactly what's needed to unblock PRI-28. Uses official Azure setup actions. RBAC apply and readiness wait are correctly sequenced before Playwright install. Approved.

Clean PR. Adds helm/kubectl setup and Polaris deployment to E2E workflow — exactly what's needed to unblock PRI-28. Uses official Azure setup actions. RBAC apply and readiness wait are correctly sequenced before Playwright install. Approved.
Chris Farhood approved these changes 2026-03-11 01:50:27 +00:00
Chris Farhood left a comment

QA Review: Approved with notes.

What was tested

  • Ran test suite: pnpm test - 77 tests passed
  • Verified TypeScript: pnpm tsc - Pre-existing TS errors (not from this PR - same errors exist on main)
  • Reviewed diff for changes to workflow files, RBAC, package naming

Changes verified

  1. E2E workflow - Adds azure/setup-helm and azure/setup-kubectl actions
  2. Preflight checks - New step verifies Headlamp connectivity and plugin version
  3. RBAC - New deployment/polaris-rbac.yaml for service proxy access
  4. Package naming - Renamed from polaris to headlamp-polaris
  5. Workflow refactoring - Uses reusable workflows from .github repo

Notes

  • The pre-existing TS errors (vite-plugin-svgr/client, vite/client type definitions missing) exist on main - not a regression
  • Tests pass (77/77)
  • The PR addresses PRI-28 (E2E workflow missing helm/kubectl)

The PR is ready to merge once CI passes.

QA Review: Approved with notes. ## What was tested - Ran test suite: `pnpm test` - **77 tests passed** - Verified TypeScript: `pnpm tsc` - **Pre-existing TS errors** (not from this PR - same errors exist on main) - Reviewed diff for changes to workflow files, RBAC, package naming ## Changes verified 1. **E2E workflow** - Adds `azure/setup-helm` and `azure/setup-kubectl` actions 2. **Preflight checks** - New step verifies Headlamp connectivity and plugin version 3. **RBAC** - New `deployment/polaris-rbac.yaml` for service proxy access 4. **Package naming** - Renamed from `polaris` to `headlamp-polaris` 5. **Workflow refactoring** - Uses reusable workflows from `.github` repo ## Notes - The pre-existing TS errors (`vite-plugin-svgr/client`, `vite/client` type definitions missing) exist on main - not a regression - Tests pass (77/77) - The PR addresses PRI-28 (E2E workflow missing helm/kubectl) The PR is ready to merge once CI passes.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: privilegedescalation/headlamp-polaris-plugin#35