Red Hat OpenShift
TMA-OPENSHIFT-1.3.4
Ensure that the --root-ca-file argument is set as appropriate
MittelStufe 1Manuelle Prüfungopenshift
Beschreibung
Allow pods to verify the API server's serving certificate before establishing connections. 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.
Certificates for OpenShift platform components are automatically created and rotated by the OpenShift Container Platform. Run the following command: oc get configmaps config -n openshift-kube-controller-manager -ojson | \ jq -r '.data["config.yaml"]' | \ jq -r '.extendedArguments["root-ca-file"][]' Verify that the --root-ca-file argument exists and is set to /etc/kubernetes/static-pod-resources/configmaps/serviceaccount-ca/ca-bundle.crt.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
set --root-ca-file argument
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- openshiftcontroller-manager
- Referenz
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.4 Ensure that the --root-ca-file argument is set as appropriate