mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Fix typo in v1beta1 field name
This commit is contained in:
parent
e4d6c48900
commit
ae73f2498f
@ -129,12 +129,12 @@ type SubjectAccessReviewSpec struct {
|
|||||||
NonResourceAttributes *NonResourceAttributes `json:"nonResourceAttributes,omitempty" protobuf:"bytes,2,opt,name=nonResourceAttributes"`
|
NonResourceAttributes *NonResourceAttributes `json:"nonResourceAttributes,omitempty" protobuf:"bytes,2,opt,name=nonResourceAttributes"`
|
||||||
|
|
||||||
// User is the user you're testing for.
|
// User is the user you're testing for.
|
||||||
// If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups
|
// If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
|
||||||
// +optional
|
// +optional
|
||||||
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=verb"`
|
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=verb"`
|
||||||
// Groups is the groups you're testing for.
|
// Groups is the groups you're testing for.
|
||||||
// +optional
|
// +optional
|
||||||
Groups []string `json:"group,omitempty" protobuf:"bytes,4,rep,name=group"`
|
Groups []string `json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"`
|
||||||
// Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer
|
// Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer
|
||||||
// it needs a reflection here.
|
// it needs a reflection here.
|
||||||
// +optional
|
// +optional
|
||||||
|
Loading…
Reference in New Issue
Block a user