Add krew support (#7464)

* Add krew support

* Add reset for krew

* Update install krew(local)

* ansible lint

* yamllint

* fix krew default vars

* fix kubectl_localhost mode

* replace include

* fix e206
This commit is contained in:
Samuel Liu
2021-05-03 22:16:03 +08:00
committed by GitHub
parent 2556eb2733
commit 96e6a6ac3f
14 changed files with 176 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
---
- name: Krew | install krew on kube_control_plane
import_tasks: krew.yml
- name: Krew | install krew on localhost
import_tasks: krew.yml
delegate_to: localhost
connection: local
run_once: true
when: kubectl_localhost