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

Download the kubectl client binary dynamically at runtime #29

Open
carolynvs opened this issue Jul 14, 2020 · 1 comment · May be fixed by #24
Open

Download the kubectl client binary dynamically at runtime #29

carolynvs opened this issue Jul 14, 2020 · 1 comment · May be fixed by #24
Assignees

Comments

@carolynvs
Copy link
Member

Is your feature request related to a problem? Please describe.
I don't always know the version of the kubernetes cluster that I am connecting to at build time.

Describe the solution you'd like
I want the kubernetes mixin to dynamically download the kubectl client binary at runtime if the versions don't match (controlled by a config flag). The helm mixin does this already minus the configuration to bypass this functionality.

Describe alternatives you've considered
N/A

Additional context
You can use the built-in kubectl client to call kubectl version to get the server version, read the json and then download a different kubectl client.

@MChorfa
Copy link
Collaborator

MChorfa commented Jul 15, 2020

@carolynvs I can help with this one

@carolynvs carolynvs transferred this issue from getporter/porter Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants