Fix helper script to refer to admin.conf as relative path (#3738)

This commit is contained in:
Matthew Mosesohn 2018-11-20 05:28:51 +03:00 committed by k8s-ci-robot
parent b4eb25197b
commit daa290100c

View file

@ -66,7 +66,7 @@
copy: copy:
content: | content: |
#!/bin/bash #!/bin/bash
kubectl --kubeconfig=admin.conf $@ kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@
dest: "{{ artifacts_dir }}/kubectl.sh" dest: "{{ artifacts_dir }}/kubectl.sh"
mode: 0755 mode: 0755
become: no become: no