Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install automatically when using .binary_version #1

Open
alexppg opened this issue Apr 23, 2020 · 1 comment
Open

Install automatically when using .binary_version #1

alexppg opened this issue Apr 23, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@alexppg
Copy link
Member

alexppg commented Apr 23, 2020

When using .kubectl_version or .helm_version, the manager should install the binary version when detecting that's not installed.

@alexppg alexppg added enhancement New feature or request good first issue Good for newcomers labels Apr 23, 2020
@gcavalcante8808
Copy link

@alexppg at least for helm, I use the following script to add this behavior:

#! /usr/bin/env bash

if [[ -f ".helm_version" ]]; then
    helmenv install "$(cat .helm_version)"
    helmenv use "$(cat .helm_version)"
fi

exec helm-wrapper "$@"

Just install the script above as /usr/local/bin/helm and left helm-wrapper and helmenv in the path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants