Red Hat OpenShift
TMA-OPENSHIFT-4.2.10
Ensure that the --rotate-certificates argument is not set to false
Trung bìnhCấp 2Xem xét thủ côngopenshift
Mô tả
Enable kubelet client certificate rotation. The benchmark marks this recommendation Manual.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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ách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Set --rotate-certificates argument to true.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- openshiftworker-nodekubelet
- Tham chiếu
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.10 Ensure that the --rotate-certificates argument is not set to false