Browse Source

Fix helper script to refer to admin.conf as relative path (#3738)

pull/3742/head
Matthew Mosesohn 6 years ago
committed by k8s-ci-robot
parent
commit
daa290100c
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/client/tasks/main.yml

2
roles/kubernetes/client/tasks/main.yml

@ -66,7 +66,7 @@
copy:
content: |
#!/bin/bash
kubectl --kubeconfig=admin.conf $@
kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@
dest: "{{ artifacts_dir }}/kubectl.sh"
mode: 0755
become: no

Loading…
Cancel
Save