From 69f796f0c74e01f4a9efe91dd91d34784a00d5d7 Mon Sep 17 00:00:00 2001 From: Tilman Beitter Date: Tue, 16 Jul 2019 11:23:25 +0200 Subject: [PATCH] use the locally deployed kubectl binary within the kubectl.sh helper script (#4311) --- roles/kubernetes/client/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/client/tasks/main.yml b/roles/kubernetes/client/tasks/main.yml index 3877998f1..02dc1a6fa 100644 --- a/roles/kubernetes/client/tasks/main.yml +++ b/roles/kubernetes/client/tasks/main.yml @@ -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