Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Add oauth http proxy for external server & Extract email from azure claim #553

Merged
merged 4 commits into from
May 16, 2023

Conversation

ByronHsu
Copy link
Contributor

@ByronHsu ByronHsu commented Apr 27, 2023

TL;DR

  1. Add oauth http proxy for external server because in on-prem cluster use cases, the client might not have access to the external network
  2. Extract email from azure claim

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Tracking Issue

flyteorg/flyte#3620

@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Merging #553 (27dfe5f) into master (507ad44) will increase coverage by 1.51%.
The diff coverage is 67.74%.

❗ Current head 27dfe5f differs from pull request most recent head 039de1b. Consider uploading reports for the commit 039de1b to get more accurate results

@@            Coverage Diff             @@
##           master     #553      +/-   ##
==========================================
+ Coverage   58.39%   59.91%   +1.51%     
==========================================
  Files         168      168              
  Lines       16093    13197    -2896     
==========================================
- Hits         9398     7907    -1491     
+ Misses       5858     4451    -1407     
- Partials      837      839       +2     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
auth/authzserver/initialize.go 100.00% <ø> (ø)
auth/config/config.go 71.42% <ø> (ø)
auth/handlers.go 34.01% <ø> (-1.10%) ⬇️
auth/authzserver/metadata_provider.go 75.00% <33.33%> (-3.13%) ⬇️
pkg/manager/impl/util/shared.go 68.52% <33.33%> (+3.01%) ⬆️
auth/authzserver/resource_server.go 49.23% <60.00%> (-2.13%) ⬇️
auth/authzserver/claims_verifier.go 88.88% <100.00%> (+4.27%) ⬆️
auth/config/config_flags.go 64.15% <100.00%> (+3.77%) ⬆️
auth/interceptor.go 100.00% <100.00%> (ø)
pkg/workflowengine/impl/prepare_execution.go 86.66% <100.00%> (+1.66%) ⬆️

... and 146 files with indirect coverage changes

wild-endeavor
wild-endeavor previously approved these changes May 10, 2023
auth/authzserver/claims_verifier.go Outdated Show resolved Hide resolved
byhsu added 2 commits May 10, 2023 22:13
Signed-off-by: byhsu <byhsu@linkedin.com>
Signed-off-by: byhsu <byhsu@linkedin.com>
Copy link
Contributor

@wild-endeavor wild-endeavor left a comment

Choose a reason for hiding this comment

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

i think this needs a make generate or a go generate ./... or something

Signed-off-by: Kevin Su <pingsutw@apache.org>
wild-endeavor
wild-endeavor previously approved these changes May 12, 2023
auth/token.go Outdated Show resolved Hide resolved
auth/token.go Outdated Show resolved Hide resolved
Signed-off-by: ByronHsu <byronhsu1230@gmail.com>
@wild-endeavor wild-endeavor merged commit a853dac into flyteorg:master May 16, 2023
13 of 14 checks passed
wild-endeavor added a commit to flyteorg/flyte that referenced this pull request May 22, 2023
Signed-off-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>

### Admin - v1.1.100
* Inject user identifier to ExecutionSpec by @ByronHsu in flyteorg/flyteadmin#549
* Fix flaky test by @eapolinario in flyteorg/flyteadmin#563
* Add oauth http proxy for external server & Extract email from azure claim by @ByronHsu in flyteorg/flyteadmin#553
* Remove single task execution default timeout by @hamersaw in flyteorg/flyteadmin#564
* Revert conditional setting of SecurityContext when launching security context by @wild-endeavor in flyteorg/flyteadmin#566

### Console - v1.8.2
* Export Flytedecks support for TLRO by @james-union in flyteorg/flyteconsole#757
* fix: filter executions by version and name by @ursucarina in flyteorg/flyteconsole#758
* fix: task recent runs should filter by version by @ursucarina in flyteorg/flyteconsole#759
* Bug: Execution Page's back button returns Workflows route from Launch Plan route #patch by @FrankFlitton in flyteorg/flyteconsole#760
* chore: add item when mapped task by @jsonporter in flyteorg/flyteconsole#761
* Feature: Fullview Flyte Deck modal by @FrankFlitton in flyteorg/flyteconsole#764

### Propeller - v1.1.90
* Add grpc plugin to loader.go by @pingsutw in flyteorg/flytepropeller#562
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
…laim (#553)

Signed-off-by: byhsu <byhsu@linkedin.com>
Add oauth http proxy for external server because in on-prem cluster use cases, the client might not have access to the external network
Extract email from azure claim
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants