TMA-OPENSHIFT-1.3.3
Ensure that the --service-account-private-key-file argument is set as appropriate
설명
Explicitly set a service account private key file for service accounts on the controller manager. The benchmark marks this recommendation Manual.
점검 방법
감사 방식: 수동 검토
이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.
OpenShift starts the Kubernetes Controller Manager with service-account-private-key-file set to /etc/kubernetes/static-pod-resources/secrets/service-account-private-key/service-account.key. The bootstrap configuration and overrides are available here: kube-controller-manager-pod bootstrap-config-overrides Run the following command: oc get configmaps config -n openshift-kube-controller-manager -ojson | \ jq -r '.data["config.yaml"]' | \ jq -r '.extendedArguments["service-account-private-key-file"][]' Verify that the following is returned ...
조치 방법
조치 방식: 가이드 또는 인프라 패치
set --service-account-private-key-file argument as appropriate
속성
- 운영 체제
- 모두
- 태그
- openshiftcontroller-managernetwork
- 참고 자료
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.3 Ensure that the --service-account-private-key-file argument is set as appropriate