Fix helper script to refer to admin.conf as relative path (#3738)
This commit is contained in:
parent
b4eb25197b
commit
daa290100c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue