Skip to content
Snippets Groups Projects
Commit 75e4cc2f authored by Richard Scott's avatar Richard Scott Committed by Kubernetes Prow Robot
Browse files

Updated kubectl.sh (#5156)

The script is not usable unless you are in the '.vagrant/provisioners/ansible/inventory/artifacts' folder.
This update makes this usable from anywhere.
parent 81cb3023
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@
copy:
content: |
#!/bin/bash
./kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@
${BASH_SOURCE%/*}/kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@
dest: "{{ artifacts_dir }}/kubectl.sh"
mode: 0755
become: no
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment