add krew_no_upgrade_check (#10175)

pull/10188/head
Samuel Liu 2023-06-03 09:12:40 +08:00 committed by GitHub
parent f25b6fce1c
commit 7771ac6074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -2,3 +2,4 @@
krew_enabled: false krew_enabled: false
krew_root_dir: "/usr/local/krew" krew_root_dir: "/usr/local/krew"
krew_default_index_uri: https://github.com/kubernetes-sigs/krew-index.git krew_default_index_uri: https://github.com/kubernetes-sigs/krew-index.git
krew_no_upgrade_check: 0

View File

@ -4,3 +4,4 @@ export KREW_ROOT="{{ krew_root_dir }}"
export KREW_DEFAULT_INDEX_URI='{{ krew_default_index_uri }}' export KREW_DEFAULT_INDEX_URI='{{ krew_default_index_uri }}'
{% endif %} {% endif %}
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
export KREW_NO_UPGRADE_CHECK={{ krew_no_upgrade_check }}