1.2.14 Ensure that the admission control plugin NamespaceLifecycle is set

Information

Reject creating objects in a namespace that is undergoing termination.

Rationale:

Setting admission control policy to NamespaceLifecycle ensures that objects cannot be created in non-existent namespaces, and that namespaces undergoing termination are not used for creating the new objects. This is recommended to enforce the integrity of the namespace termination process and also for the availability of the newer objects.

Impact:

None

Solution

Edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the Control Plane node and set the --disable-admission-plugins parameter to ensure it does not include NamespaceLifecycle.

Default Value:

By default, NamespaceLifecycle is set.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv7|5.1

Plugin: Unix

Control ID: 4441ef4b60d482b3bd94d12bfd2296e1d43d128bc742d3b2d8bf006fab9bbc45