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

Properly use custom kubeconfig for all clientsets #1110

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

neoaggelos
Copy link
Contributor

Summary

Closes #1109

Notes

This change works for me. I think it would make sense to pull the clientcmd.ClientConfig creation in a separate function to avoid code duplication (and similar issues in the future), but I decided against it, as it touches more parts of the codebase than I believe are required.

I'd be willing to go ahead with the change if the maintainers find that it is OK.

@neoaggelos
Copy link
Contributor Author

Rebased against latest branch.

@neoaggelos
Copy link
Contributor Author

Ping, is this waiting for something?

@neoaggelos
Copy link
Contributor Author

pinging again

@neoaggelos
Copy link
Contributor Author

Hello, rebased again.

Apologies for bumping the PR repeatedly, but we would greatly benefit from this fix. Is it possible to move this forward?

Thank you

@harshavardhana
Copy link
Member

PTAL @dvaldivia @Alevsk @cniackz

@neoaggelos
Copy link
Contributor Author

Hi, any updates on this? Thanks!

Copy link
Contributor

@cniackz cniackz left a comment

Choose a reason for hiding this comment

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

It looks good to me.
Tested to create the tenant with this change, is not breaking the logic as far as I can see it.
Plus it allows the config to be loaded in advance.

@harshavardhana harshavardhana merged commit fa7d800 into minio:master Aug 9, 2022
reivaj05 pushed a commit to reivaj05/operator that referenced this pull request Aug 10, 2022
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.

kubectl-minio does not use the custom kubeconfig for all clients
3 participants