3.1.3 Ensure that the kubelet configuration file has permissions set to 600

Information

Ensure that if the kubelet configuration file exists, it has permissions of 600.

The kubelet reads various parameters, including security settings, from a config file specified by the --config argument. If this file exists, you should restrict its file permissions to maintain the integrity of the file. The file should be writable by only the administrators on the system.

Solution

Run the following command (using the kubelet config file location):

chmod 600 <kubelet_config_file>

Impact:

Overly permissive file access increases the security risk to the platform.

See Also

https://workbench.cisecurity.org/benchmarks/16093