Red Hat OpenShift
TMA-OPENSHIFT-4.2.10
Ensure that the --rotate-certificates argument is not set to false
MédiaNível 2Revisão manualopenshift
Descrição
Enable kubelet client certificate rotation. The benchmark marks this recommendation Manual.
Como é verificado
Método de auditoria: Revisão manual
Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --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.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Set --rotate-certificates argument to true.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- openshiftworker-nodekubelet
- Referência
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.10 Ensure that the --rotate-certificates argument is not set to false