mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-05 01:59:30 -02:30
Fix helper script to refer to admin.conf as relative path (#3738)
This commit is contained in:
committed by
k8s-ci-robot
parent
b4eb25197b
commit
daa290100c
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user