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

Fix raw kubeconfig context switch #52

Merged
merged 1 commit into from Feb 8, 2020

Conversation

maxlaverse
Copy link
Collaborator

Fixes the handling of raw kubeconfig files and the switch to a context.
Since 1.8.0 the switch is done after settings the cluster up which doesn't make much sense and doesn't reflect what's in the documentation. Also and unrelated to this fix, this PR prefixes log lines with the name of the plugin, and add a warning if a user configures a context that does not exist in the kubeconfig file.

Fixes #51

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 94.372% when pulling e0ffc80 on fix_kubeconfig_context_switch into 63696f6 on master.

@maxlaverse maxlaverse merged commit 51bf51b into master Feb 8, 2020
@maxlaverse maxlaverse deleted the fix_kubeconfig_context_switch branch February 8, 2020 14:17
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.

withKubeConfig improperly selects namespace for selected context
2 participants