More Info:
Use individual service account credentials for each controllerRisk Level
HighAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
- On every control plane node, back up the current manifest:
- Edit the controller manager manifest on that control plane node:
- In the
spec.containers[0].command(orargs) list, add or update the flag so it appears exactly as:
--use-service-account-credentials= already exists, change its value to true instead of adding a duplicate.-
Save the file and exit the editor. The kubelet on that control plane node will automatically detect the manifest change and restart the
kube-controller-managerstatic pod; expect a brief controller-manager restart. - After 30–60 seconds, verify the new flag is in effect on that control plane node:
kube-controller-manager process command line includes:Using kubectl
Using kubectl
kubectl cannot modify the kube-controller-manager static pod manifest or its process flags. This finding must be remediated by editing
/etc/kubernetes/manifests/kube-controller-manager.yaml directly on every control plane node; see the Manual Steps section for exact instructions.Automation
Automation

