-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Initial version of GKE Auth support without gcloud #4185
base: main
Are you sure you want to change the base?
Conversation
… into gcp-gke-auth-support � Conflicts: � pom.xml
@manusa Could you take a look my pr ? I tested on GKE cluster. There is no issue. It works as expected. |
SonarCloud Quality Gate failed. |
* @param currentAuthProviderConfig current AuthInfo's AuthProvider config as a map | ||
* @return access token for interacting with Google Kubernetes API | ||
*/ | ||
public static CompletableFuture<String> resolveTokenFromAuthConfig( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the usage of a CompletableFuture here, both* return statements return sync values CompletableFuture.completedFuture
Also, line 72 seems to be missing a return
?
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is quite interesting, I hope we could merge it soon.
@talatuyarer: polite ping, Are you still working on this? |
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
test, version modification, documentation, etc.)
Checklist