-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
add add-cluster-role-to-user support for -z #12902
add add-cluster-role-to-user support for -z #12902
Conversation
pkg/cmd/admin/policy/modify_roles.go
Outdated
@@ -252,10 +256,12 @@ func NewCmdRemoveClusterRoleFromUser(name, fullName string, f *clientcmd.Factory | |||
}, | |||
} | |||
|
|||
cmd.Flags().StringSliceVarP(&saNames, "serviceaccount", "z", saNames, "service account in the current cluster to use as a user") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the current namespace
pkg/cmd/admin/policy/modify_roles.go
Outdated
@@ -204,6 +205,8 @@ func NewCmdAddClusterRoleToUser(name, fullName string, f *clientcmd.Factory, out | |||
}, | |||
} | |||
|
|||
cmd.Flags().StringSliceVarP(&saNames, "serviceaccount", "z", saNames, "service account in the current cluster to use as a user") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the current namespace
6267484
to
d14f658
Compare
[test] |
d14f658
to
c2928ac
Compare
c2928ac
to
f661068
Compare
check_future flaked on #12911 re[test] |
Evaluated for origin test up to f661068 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/122/) (Base Commit: 1d1fc72) |
@smarterclayton or @enj are there any more comments for this patch? Thanks! |
LGTM [merge] |
Evaluated for origin merge up to f661068 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/159/) (Base Commit: 4e48fca) (Image: devenv-rhel7_5907) |
Fixes #12791
cc @smarterclayton @enj