Red Hat OpenShift
TMA-OPENSHIFT-4.2.10
Ensure that the --rotate-certificates argument is not set to false
MoyenneNiveau 2Revue manuelleopenshift
Description
Enable kubelet client certificate rotation. 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.
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.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Set --rotate-certificates argument to true.
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- openshiftworker-nodekubelet
- Référence
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.10 Ensure that the --rotate-certificates argument is not set to false