96e6a6ac3f
* 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
6 lines
232 B
Django/Jinja
6 lines
232 B
Django/Jinja
# krew bash env(kubespray)
|
|
export KREW_ROOT="{{ krew_root_dir }}"
|
|
{% if krew_default_index_uri is defined %}
|
|
export KREW_DEFAULT_INDEX_URI='{{ krew_default_index_uri }}'
|
|
{% endif %}
|
|
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|