From 8e51a20b48d72738a1d8b12b55d260becc1ff61c Mon Sep 17 00:00:00 2001 From: Hugh Hackman Date: Tue, 17 Mar 2026 09:11:53 +0000 Subject: [PATCH] fix: add kubectl, helm, and helm repo setup steps to e2e workflow The self-hosted runner doesn't have kubectl or helm pre-installed. Add setup steps using azure/setup-kubectl and azure/setup-helm actions, and add the Headlamp helm repo before the upgrade step. Co-Authored-By: Paperclip --- .github/workflows/e2e.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 86aa19f..e65370d 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -32,6 +32,15 @@ jobs: - name: Build plugin run: npm run build + - name: Setup kubectl + uses: azure/setup-kubectl@v4 + + - name: Setup Helm + uses: azure/setup-helm@v4 + + - name: Add Headlamp Helm repo + run: helm repo add headlamp https://headlamp-k8s.github.io/headlamp/ && helm repo update + - name: Ensure PVC exists run: kubectl apply -f deployment/headlamp-plugins-pvc.yaml