use the locally deployed kubectl binary within the kubectl.sh helper script (#4311)

This commit is contained in:
Tilman Beitter 2019-07-16 11:23:25 +02:00 committed by Kubernetes Prow Robot
parent 5826f0810c
commit 69f796f0c7

View file

@ -103,7 +103,7 @@
copy: copy:
content: | content: |
#!/bin/bash #!/bin/bash
kubectl --kubeconfig=${BASH_SOURCE%/*}/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