More Info:
Ensure that the Kubernetes PKI directory and file ownership is set to root:root.Risk Level
LowAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, review current ownership of the PKI directory and files:
-
On every control plane node, change ownership of the PKI directory and all contents to root:root:
-
On every control plane node, re-check ownership to ensure all entries are now root:root:
Using kubectl
Using kubectl
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).Automation
Automation

