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

KO-297: Fix --kubeconfig flag support #11

Merged
merged 3 commits into from
Apr 1, 2024
Merged

KO-297: Fix --kubeconfig flag support #11

merged 3 commits into from
Apr 1, 2024

Conversation

abhishekdwivedi3060
Copy link
Contributor

No description provided.

return nil, nil, err
}
} else {
cfg = runtimeConfig.GetConfigOrDie()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clientcmd.BuildConfigFromFlags also has a fallback implementation here. Just check if we have to use both functions to get the config.

Copy link
Contributor Author

@abhishekdwivedi3060 abhishekdwivedi3060 Mar 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't have KUBECONFIG env fallback support.

Bumped go-version
@sud82 sud82 merged commit f339f4a into main Apr 1, 2024
4 checks passed
@sud82 sud82 deleted the KO-297 branch April 1, 2024 09:04
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.

3 participants