1.1.32 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/2125

Item Details

Category: ACCESS CONTROL

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

Plugin: Unix

Control ID: 583f706dfd4aa3ff300d2d4d951ef27bd44fde3bafaf64bbed4c5b6d7e06cdbe