Red Hat OpenShift
TMA-OPENSHIFT-1.2.11
Ensure that the admission control plugin NamespaceLifecycle is set
MoyenneNiveau 1Revue manuelleopenshift
Description
Reject creating objects in a namespace that is undergoing termination. The benchmark marks this recommendation Manual.
Méthode de vérification
Méthode d'audit: Revue manuelle
Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.
OpenShift enables the NamespaceLifecycle plugin by default. Use the following command to obtain a list of configured admission controllers: oc -n openshift-kube-apiserver get configmap config -o json | jq -r '.data."config.yaml"' | jq '.apiServerArguments."enable-admission-plugins"' Verify that NamespaceLifecycle is present in the returned list.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Configure NamespaceLifecycle admission controller.
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- openshiftapi-server
- Référence
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.11 Ensure that the admission control plugin NamespaceLifecycle is set