-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Monorepo] Enable proxy-authorization in admin client (#4189)
* Add proxyCommand to client config Signed-off-by: Fabio Grätz <[email protected]> * Add proxy auth unary interceptor Signed-off-by: Fabio Grätz <[email protected]> * Use proxy auth in http client for oauth Signed-off-by: Fabio Grätz <[email protected]> * Cache tokens obtained from external commands Signed-off-by: Fabio Grätz <[email protected]> * Make tests pass Signed-off-by: Fabio Grätz <[email protected]> * Add tests for proxy auth interceptor Signed-off-by: Fabio Grätz <[email protected]> * Make work without 2nd token cache but instead with 2nd credentials future Signed-off-by: Fabio Grätz <[email protected]> * Adapt existing tests to not using a 2nd token cache but a 2nd credentials future Signed-off-by: Fabio Grätz <[email protected]> * Adapt new tests to not using a 2nd token cache but a 2nd credentials future Signed-off-by: Fabio Grätz <[email protected]> * Fix number of opts in NewAdminConnection Signed-off-by: Fabio Grätz <[email protected]> * Don't overwrite original error in NewProxyAuthInterceptor Signed-off-by: Fabio Grätz <[email protected]> * Improve error message when failing to create http client for oauth Signed-off-by: Fabio Grätz <[email protected]> * Actually don't return any error from setHTTPClientContext at all as before Signed-off-by: Fabio Grätz <[email protected]> * Don't require github.com/golang-jwt/jwt anymore Signed-off-by: Fabio Grätz <[email protected]> * Make tests pass again Signed-off-by: Fabio Grätz <[email protected]> * Lint Signed-off-by: Fabio Grätz <[email protected]> * make -C flyteidl generate Signed-off-by: Eduardo Apolinario <[email protected]> * Fix flytepropeller's getAdminClient Signed-off-by: Fabio Grätz <[email protected]> --------- Signed-off-by: Fabio Grätz <[email protected]> Signed-off-by: Eduardo Apolinario <[email protected]> Co-authored-by: Fabio Grätz <[email protected]> Co-authored-by: Eduardo Apolinario <[email protected]>
- Loading branch information
1 parent
26228bd
commit b9f6e8c
Showing
10 changed files
with
242 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.