Skip to content

Commit

Permalink
workflow: Fix kustomize permission issue
Browse files Browse the repository at this point in the history
- Use Wainer's suggested approach of `sudo bash -s` rather
than the separate install
- Also update Azure's e2e workflow with the fix

Signed-off-by: stevenhorsman <[email protected]>
  • Loading branch information
stevenhorsman committed Oct 14, 2024
1 parent adf5ee7 commit d3ad603
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azure-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:
run: |
command -v kustomize >/dev/null || \
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | \
bash -s /usr/local/bin
sudo bash -s /usr/local/bin
- name: Set Provisioner Environment Variables
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e_libvirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ jobs:
- name: Install kustomize
run: |
command -v kustomize >/dev/null || \
sudo curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
sudo install -o root -g root -m 0755 kustomize /usr/local/bin/kustomize
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | \
sudo bash -s /usr/local/bin
- name: Checkout KBS Repository
run: |
Expand Down

0 comments on commit d3ad603

Please sign in to comment.