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:
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user