1.3.3 Ensure that the --use-service-account-credentials argument is set to true

Information

Use individual service account credentials for each controller.

Rationale:

The controller manager creates a service account per controller in the 'kube-system' namespace, generates a credential for it, and builds a dedicated API client with that service account credential for each controller loop to use. Setting the '--use-service-account-credentials' to 'true' runs each control loop within the controller manager using a separate service account credential. When used in combination with RBAC, this ensures that the control loops run with the minimum permissions required to perform their intended tasks.

Solution

Edit the Controller Manager pod specification file '/etc/kubernetes/manifests/kube-controller-manager.yaml' on the master node to set the below parameter.

--use-service-account-credentials=true

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CSCv6|14

Plugin: Unix

Control ID: 2653cc1e234bc3b6e73278270ca732dc368da8fbd1cd75399a9a42d5ab289e10