kubernetes-client
kubernetes-client copied to clipboard
Initial version of GKE Auth support without gcloud
Description
I implement new a TokenRefresher for GKE based on Google documentation. This implementation does not need gcloud. Just need a service account and kubeconfig. Detail explaination you can check here
https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] Feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change
- [ ] Chore (non-breaking change which doesn't affect codebase; test, version modification, documentation, etc.)
Checklist
- [x] Code contributed by me aligns with current project license: Apache 2.0
- [x] I Added CHANGELOG entry regarding this change
- [x] I have implemented unit tests to cover my changes
- [x] I have added/updated the javadocs and other documentation accordingly
- [x] No new bugs, code smells, etc. in SonarCloud report
- [x] I tested my code in Kubernetes
- [ ] I tested my code in OpenShift
@manusa Could you take a look my pr ? I tested on GKE cluster. There is no issue. It works as expected.
@talatuyarer: polite ping, Are you still working on this?
Hey @rohanKanojia Let me update my pr. We started using my implementation for older version of fabric8. I will send an update commit in this week.
@talatuyarer : polite ping, Did you get some time to rebase your PR against latest version?
Let's rebase and address the review comments with this after #4702
I actually have rebased version with current master. I can push before https://github.com/fabric8io/kubernetes-client/pull/4702 @shawkins
In addition to this last month I implement AWS EKS support also.
@talatuyarer: polite ping, Are you still working on this?