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

feat(server): add ServiceAccount info to api/v1/userinfo and ui user tab #4944

Merged
merged 3 commits into from Jan 27, 2021

Conversation

tczhao
Copy link
Member

@tczhao tczhao commented Jan 25, 2021

Resolves: #4936

Signed-off-by: Tianchu Zhao evantczhao@gmail.com

Checklist:

Copy link
Contributor

@alexec alexec left a comment

Choose a reason for hiding this comment

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

Needs @jessesuen approval for proto changes.

@@ -26,6 +26,7 @@ message GetUserInfoResponse {
repeated string groups = 3;
string email = 4;
bool emailVerified = 5;
string serviceAccount = 6;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it should probably be consistent with PodSpec which would be serviceAccountName:

https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

Copy link
Member

@jessesuen jessesuen left a comment

Choose a reason for hiding this comment

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

Agree with @alexec. Conditional approval provided we rename to serviceAccountName.

@alexec
Copy link
Contributor

alexec commented Jan 26, 2021

I think e2e test failure is unrelated. Re-running.

@jessesuen jessesuen removed their assignment Jan 27, 2021
@alexec
Copy link
Contributor

alexec commented Jan 27, 2021

Please sync with master to fix conflicts introduced by v2.

Copy link
Contributor

@alexec alexec left a comment

Choose a reason for hiding this comment

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

Needs rebase/merge from master.

@tczhao tczhao force-pushed the feature/add-serviceaccount-userinfo branch from 63f8bbd to 01e2988 Compare January 27, 2021 21:43
Signed-off-by: Tianchu Zhao <evantczhao@gmail.com>
…o match up with pod.spec

Signed-off-by: Tianchu Zhao <evantczhao@gmail.com>
@tczhao tczhao force-pushed the feature/add-serviceaccount-userinfo branch from 01e2988 to 7dbc877 Compare January 27, 2021 22:08
@tczhao
Copy link
Member Author

tczhao commented Jan 27, 2021

Needs rebase/merge from master.

Done

@alexec alexec merged commit eabe963 into argoproj:master Jan 27, 2021
@alexec
Copy link
Contributor

alexec commented Jan 27, 2021

@simster7 we might want to back-part this one.

@simster7 simster7 mentioned this pull request Feb 1, 2021
32 tasks
@simster7 simster7 mentioned this pull request Feb 8, 2021
38 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.

Add selected ServiceAccount into user-info.tsx when enable RBAC
3 participants