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

feat: support alternative kubectl binaries #2639

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikecbone
Copy link

Proposed solution to #1514

There's not an easy & effective way, that I know of, to check for aliases within Go without running a bash shell in interactive mode and parsing the output. You then have to account for different shells, security risks etc

This seems like a straightforward way to support different kubectl binaries. It could alternatively be extracted into a flag.

For most users who have the kubectl binary as standard, this doesn't introduce any extra system calls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant