Skip to content

Conversation

squizzi
Copy link
Member

@squizzi squizzi commented Oct 2, 2025

This PR adds kubeconfig auto discovery and loading. Now, instead of requiring a user to specify --kubeconfig we check known kubeconfig paths for known distros we support and try to load the kubeconfig from there. If a kubeconfig is found we immediately start using it to improve the output with sourcePod lookups.

Check the linked PR for e2e test results and other manual testing.

Signed-off-by: Kyle Squizzato <kyle@replicated.com>
@squizzi squizzi force-pushed the squizzi/sc-129335/dynamic-kubeconfig-load branch from b613a55 to be9e7e7 Compare October 2, 2025 19:04
@squizzi squizzi merged commit 9540136 into main Oct 3, 2025
3 checks passed
@squizzi squizzi deleted the squizzi/sc-129335/dynamic-kubeconfig-load branch October 3, 2025 20:53
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.

2 participants