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.

Rationale:

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.

Impact:

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

Solution

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

chmod 600 <kubelet_config_file>

Default Value:

The default permissions for the kubelet configuration file are 600.

See Also

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