mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
use the locally deployed kubectl binary within the kubectl.sh helper script (#4311)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
5826f0810c
commit
69f796f0c7
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user