Red Hat OpenShift
TMA-OPENSHIFT-1.3.4
Ensure that the --root-ca-file argument is set as appropriate
MediaNivel 1Revisión manualopenshift
Descripción
Allow pods to verify the API server's serving certificate before establishing connections. The benchmark marks this recommendation Manual.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
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.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
set --root-ca-file argument
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- openshiftcontroller-manager
- Referencia
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.4 Ensure that the --root-ca-file argument is set as appropriate