Skip to content

[Web] Fix missing --request-id= flag in UI for Kubernetes login instructions#21444

Merged
rudream merged 4 commits intomasterfrom
yassine/13/web/fix-kube-login
Feb 10, 2023
Merged

[Web] Fix missing --request-id= flag in UI for Kubernetes login instructions#21444
rudream merged 4 commits intomasterfrom
yassine/13/web/fix-kube-login

Conversation

@rudream
Copy link
Copy Markdown
Contributor

@rudream rudream commented Feb 8, 2023

Purpose

Related issue: #14432 (comment)

Fixes a minor regression that was accidentally introduced in gravitational/webapps#1298 which caused the --request-id= flag to no longer appear in the generated login command for Kubes in the UI (while having a role from an Access Request assumed).

Copy link
Copy Markdown
Contributor

@kimlisa kimlisa left a comment

Choose a reason for hiding this comment

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

thanks for the fix, lgtm after adding a snapshot

Comment thread web/packages/teleport/src/Kubes/ConnectDialog/ConnectDialog.tsx
@kimlisa
Copy link
Copy Markdown
Contributor

kimlisa commented Feb 8, 2023

normally you'd wanna start the backport after the master gets approved and merged...

@rudream
Copy link
Copy Markdown
Contributor Author

rudream commented Feb 10, 2023

normally you'd wanna start the backport after the master gets approved and merged...

@kimlisa Yeah this is because I had accidentally made the fix in branch/v11 first and not master and only realized it after I had already pushed and opened the PR. Thought it would be fine since it was just a one line change

@rudream rudream enabled auto-merge February 10, 2023 16:03
@rudream rudream added this pull request to the merge queue Feb 10, 2023
Merged via the queue into master with commit 92651b5 Feb 10, 2023
@rudream rudream deleted the yassine/13/web/fix-kube-login branch February 27, 2023 22:46
avatus pushed a commit that referenced this pull request Mar 3, 2023
…uctions (#21444)

* fix missing request-id flag for kube login instructions

* add snapshot tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants