Browse Source

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.
pull/5209/head
Richard Scott 5 years ago
committed by Kubernetes Prow Robot
parent
commit
75e4cc2fd9
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/client/tasks/main.yml

2
roles/kubernetes/client/tasks/main.yml

@ -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

Loading…
Cancel
Save