TMAegisBeta
Weitere Regeln für openshift

Red Hat OpenShift

TMA-OPENSHIFT-4.2.10

Ensure that the --rotate-certificates argument is not set to false

MittelStufe 2Manuelle Prüfungopenshift

Beschreibung

Enable kubelet client certificate rotation. The benchmark marks this recommendation Manual.

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

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.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Set --rotate-certificates argument to true.

Eigenschaften

Betriebssysteme
Beliebig
Tags
openshiftworker-nodekubelet
Referenz
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.10 Ensure that the --rotate-certificates argument is not set to false