Skip to content

Commit

Permalink
add krew_no_upgrade_check (kubernetes-sigs#10175)
Browse files Browse the repository at this point in the history
  • Loading branch information
liupeng0518 authored and pedromcpedro committed May 8, 2024
1 parent f2f7c52 commit 3a74ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/kubernetes-apps/krew/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
krew_enabled: false
krew_root_dir: "/usr/local/krew"
krew_default_index_uri: https://github.com/kubernetes-sigs/krew-index.git
krew_no_upgrade_check: 0
1 change: 1 addition & 0 deletions roles/kubernetes-apps/krew/templates/krew.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export KREW_ROOT="{{ krew_root_dir }}"
export KREW_DEFAULT_INDEX_URI='{{ krew_default_index_uri }}'
{% endif %}
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
export KREW_NO_UPGRADE_CHECK={{ krew_no_upgrade_check }}

0 comments on commit 3a74ecd

Please sign in to comment.