ci: add kubectl setup step for E2E plugin deploy

The runner doesn't have kubectl pre-installed, so the deploy script
fails with 'command not found'. Add azure/setup-kubectl@v4 before
the deploy step.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
hugh-hackman[bot]
2026-03-16 11:00:08 +00:00
parent 76d2bd3d41
commit 3f16f5c360
+3
View File
@@ -28,6 +28,9 @@ jobs:
- name: Build plugin
run: npm run build
- name: Setup kubectl
uses: azure/setup-kubectl@v4
- name: Deploy plugin to Headlamp
env:
HEADLAMP_URL: ${{ secrets.HEADLAMP_URL || 'http://headlamp.kube-system.svc.cluster.local' }}