Skip to content

Commit 179d302

Browse files
nileboxpmorie
authored andcommitted
Uncommenting UID field after updating to k8s 1.8 (#1457)
1 parent b70c076 commit 179d302

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugin/pkg/admission/broker/authsarcheck/admission.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ func (s *sarcheck) Admit(a admission.Attributes) error {
106106
User: userInfo.GetName(),
107107
Groups: userInfo.GetGroups(),
108108
Extra: convertToSARExtra(userInfo.GetExtra()),
109-
// TODO: uncomment after rebase onto Kubernetes 1.8.
110-
// See https://github.com/kubernetes/kubernetes/pull/49677
111-
//UID: userInfo.GetUID(),
109+
UID: userInfo.GetUID(),
112110
},
113111
}
114112
sar, err := s.client.AuthorizationV1().SubjectAccessReviews().Create(sar)

0 commit comments

Comments
 (0)