Red Hat OpenShift
TMA-OPENSHIFT-4.2.10
Ensure that the --rotate-certificates argument is not set to false
OrtaDüzey 2Manuel incelemeopenshift
Açıklama
Enable kubelet client certificate rotation. The benchmark marks this recommendation Manual.
Nasıl denetlenir
Denetim yöntemi: Manuel inceleme
Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.
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.
Nasıl düzeltilir
Düzeltme yöntemi: Kılavuz veya altyapı yaması
Set --rotate-certificates argument to true.
Özellikler
- İşletim sistemleri
- Herhangi biri
- Etiketler
- openshiftworker-nodekubelet
- Referans
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.10 Ensure that the --rotate-certificates argument is not set to false