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

pull/3742/head
Matthew Mosesohn 2018-11-20 05:28:51 +03:00 committed by k8s-ci-robot
parent b4eb25197b
commit daa290100c
1 changed files with 1 additions and 1 deletions

View File

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