Implemented logic in kubelet for registering node info, including wiring to CSINodeInfo; added unit tests for node updates; updated RBAC, NodeAuthorizer, NodeRestriction.

This commit is contained in:
Cheng Xing
2018-08-28 00:00:00 -07:00
parent 659092d8ba
commit becc6a9c19
18 changed files with 1531 additions and 289 deletions

View File

@@ -572,6 +572,8 @@ func TestNodeAuthorizer(t *testing.T) {
expectForbidden(t, updateNode1Lease(node2Client))
expectForbidden(t, patchNode1Lease(node2Client))
expectForbidden(t, deleteNode1Lease(node2Client))
// TODO (verult) CSINodeInfo tests (issue #68254)
}
// expect executes a function a set number of times until it either returns the