1.1.31 Ensure that the --authorization-mode argument is set to Node

Information

Restrict kubelet nodes to reading only objects associated with them.

Rationale:

The 'Node' authorization mode only allows kubelets to read 'Secret', 'ConfigMap', 'PersistentVolume', and 'PersistentVolumeClaim' objects associated with their nodes.

Solution

Edit the API server pod specification file '/etc/kubernetes/manifests/kube-apiserver.yaml' on the master node and set the '--authorization-mode' parameter to a value that includes 'Node'.

--authorization-mode=Node,RBAC

Impact:

None

See Also

https://workbench.cisecurity.org/files/1788

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CSCv6|9.1

Plugin: Unix

Control ID: 45b335ae0da4b3e61de718fde2d61880c382ce254f9266d679aeb9fec7b07a4b