Red Hat OpenShift
TMA-OPENSHIFT-1.2.9
Ensure that the admission control plugin AlwaysPullImages is not set
СреднийУровень 1Ручная проверкаopenshift
Описание
Always pull images. The benchmark marks this recommendation Manual.
Как проверяется
Метод проверки: Ручная проверка
Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.
Use the following command to obtain a list of configured admission controllers: oc -n openshift-kube-apiserver get configmap config -o json | jq -r '.data."config.yaml"' | jq '.apiServerArguments."enable-admission-plugins"' Verify the list does not include AlwaysPullImages.
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
Modify the failed cluster and remove the 'AlwaysPullImages' configuration setting.
Свойства
- Операционные системы
- Любая
- Теги
- openshiftapi-serverregistry
- Источник
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.9 Ensure that the admission control plugin AlwaysPullImages is not set