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 <noreply@paperclip.ing>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user