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: auth role to be aligned with launch plan and be editable by user #236

Merged
merged 4 commits into from
Nov 19, 2021

Conversation

govalt
Copy link
Contributor

@govalt govalt commented Nov 11, 2021

Signed-off-by: csirius 85753828+csirius@users.noreply.github.com

TL;DR

Display the original execution IAM or k8s role under "advanced options" in the launch form. Roles can be changed according to the launch plan if it has auth role in it; users can edit those roles manually. This fix also adds additional functionality to the launch from with the support of Annotations and Labels

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

Make the Advanced options in relaunch form shows the original execution IAM or k8s role.
Also those roles could be changed according to the launch plan changes if it has auth role in it.
And user can edit those roles manually.

Tracking Issue

fixes flyteorg/flyte#1737

Follow-up issue

NA

Signed-off-by: csirius <85753828+csirius@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Nov 11, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@5e83da6). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #236   +/-   ##
=========================================
  Coverage          ?   63.52%           
=========================================
  Files             ?      365           
  Lines             ?     7924           
  Branches          ?     1390           
=========================================
  Hits              ?     5034           
  Misses            ?     2890           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e83da6...a6035ac. Read the comment docs.

Signed-off-by: csirius <85753828+csirius@users.noreply.github.com>
Signed-off-by: csirius <85753828+csirius@users.noreply.github.com>
Signed-off-by: csirius <85753828+csirius@users.noreply.github.com>
Copy link
Contributor

@jsonporter jsonporter left a comment

Choose a reason for hiding this comment

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

lgtm

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.31.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

[BUG] FlyteConsole Relaunch doesn't persist all execution properties
3 participants