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

Fix port rewrite in the case of sandbox/demo cluster #1064

Merged
merged 2 commits into from
Jun 15, 2022

Conversation

eapolinario
Copy link
Collaborator

Signed-off-by: Eduardo Apolinario [email protected]

TL;DR

Fix port rewrite in the case of sandbox/demo cluster

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

Complete description

We rewrite the flyteconsole port in case we detect that we're running on a sandbox/demo cluster. However, #992 made it so that auth_type is now read from the config file (as opposed to getting the default value).

The fix is to ensure that the platform config for sandbox matches the one emitted by flytectl.

Tracking Issue

flyteorg/flyte#2615

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

@codecov
Copy link

codecov bot commented Jun 15, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.54%. Comparing base (7558e91) to head (b45b0f5).
Report is 1058 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1064      +/-   ##
==========================================
+ Coverage   86.50%   86.54%   +0.04%     
==========================================
  Files         267      268       +1     
  Lines       24847    24872      +25     
  Branches     2797     2800       +3     
==========================================
+ Hits        21493    21525      +32     
+ Misses       2877     2870       -7     
  Partials      477      477              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eapolinario eapolinario merged commit 2b4b15a into master Jun 15, 2022
eapolinario added a commit that referenced this pull request Jun 17, 2022
* Fix port rewrite in the case of sandbox/demo cluster

Signed-off-by: Eduardo Apolinario <[email protected]>

* Include endpoint in sandbox config

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
@eapolinario eapolinario mentioned this pull request Jun 17, 2022
8 tasks
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.

2 participants