Skip to main content

More Info:

Verifies that —root-ca-file is set so the controller manager injects a trusted CA bundle into pods, letting them verify the API server certificate.

Risk Level

High

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, check the current ownership of the file:
  2. On every control plane node, set the correct ownership to root:root:
  3. (Optional) If the file might be a symlink, ensure the ownership is correct on the target as well:
  4. Verify the fix on every control plane node:
    The output must be:
kubectl cannot change ownership or permissions of host-level files such as /etc/kubernetes/controller-manager.conf on control plane nodes. This fix must be done directly on each control plane node’s filesystem; see the Manual Steps section for the exact commands and procedure.