4.1.4 Ensure that the proxy kubeconfig file ownership is set to root:root

Information

If kube-proxy is running, ensure that the file ownership of its kubeconfig file is set to root:root.

Rationale:

The kubeconfig file for kube-proxy controls various parameters for the kube-proxy service in the worker node. You should set its file ownership to maintain the integrity of the file. The file should be owned by root:root.

Solution

Run the below command (based on the file location on your system) on the each worker node. For example,

chown root:root <proxy kubeconfig file>

Impact:

None

Default Value:

By default, proxy file ownership is set to root:root.

References:

https://kubernetes.io/docs/admin/kube-proxy/

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|5.1, CSCv7|5.2

Plugin: Unix

Control ID: c7e55184846ba4f7ce53f381f7e745bbcf30f4c3c9e311b833c310feefc2a576