Skip to main content

More Info:

Ensure that the Kubernetes PKI directory and file ownership is set to root:root.

Risk Level

Low

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, review current ownership of the PKI directory and files:
  2. On every control plane node, change ownership of the PKI directory and all contents to root:root:
  3. On every control plane node, re-check ownership to ensure all entries are now root:root:
kubectl cannot change file and directory ownership on control plane nodes, including /etc/kubernetes/pki/. This finding must be remediated directly on each control plane node’s host filesystem (see the Manual Steps section for the required chown command and verification).

Additional Reading: