mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +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:
|
||||
content: |
|
||||
#!/bin/bash
|
||||
kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@
|
||||
./kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@
|
||||
dest: "{{ artifacts_dir }}/kubectl.sh"
|
||||
mode: 0755
|
||||
become: no
|
||||
|
||||
Reference in New Issue
Block a user