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

config: add support for loading multiple CAs #64

Merged
merged 1 commit into from
Aug 29, 2019
Merged

config: add support for loading multiple CAs #64

merged 1 commit into from
Aug 29, 2019

Conversation

crawford
Copy link
Contributor

OpenShift uses more than one CA in its kubeconfigs. Without this change,
the client will get errors like "self signed certificate in certificate
chain".

OpenShift uses more than one CA in its kubeconfigs. Without this change,
the client will get errors like "self signed certificate in certificate
chain".
@clux
Copy link
Member

clux commented Aug 29, 2019

That looks sensible to me. It doesn't affect my normal setup at least.
Thanks a lot!

@clux clux merged commit f221f8a into kube-rs:master Aug 29, 2019
@crawford crawford deleted the ca-bundle branch August 29, 2019 22:28
@crawford
Copy link
Contributor Author

@clux do you think it's worth removing the ca method? I left it there in order to preserve backward compatibility.

@clux
Copy link
Member

clux commented Aug 29, 2019

I ended up removing it because it was unused internally. Ultimately KubeConfigLoader is not exposed outside the crate so there's no compat to preserve.

@crawford
Copy link
Contributor Author

Awesome. Thanks for the quick review!

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

2 participants