Red Hat OpenShift
TMA-OPENSHIFT-4.2.10
Ensure that the --rotate-certificates argument is not set to false
MediaNivel 2Revisión manualopenshift
Descripción
Enable kubelet client certificate rotation. The benchmark marks this recommendation Manual.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
This feature also requires the RotateKubeletClientCertificate feature gate to be enabled. The feature gate is enabled by default. Run the following command to check that certificate rotation is enabled for each node: for node in $(oc get nodes -ojsonpath='{.items[*].metadata.name}'); do oc get --raw /api/v1/nodes/$node/proxy/configz | jq '.kubeletconfig.rotateCertificates' done Verify all the nodes return true.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Set --rotate-certificates argument to true.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- openshiftworker-nodekubelet
- Referencia
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.10 Ensure that the --rotate-certificates argument is not set to false