Skip to content

Download the kubectl client binary dynamically at runtime #29

@carolynvs

Description

@carolynvs

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions