Red Hat OpenShift
TMA-OPENSHIFT-1.2.9
Ensure that the admission control plugin AlwaysPullImages is not set
MediumLevel 1Manual reviewopenshift
Description
Always pull images. The benchmark marks this recommendation Manual.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --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.
How it is fixed
Fix method: Guidance or infrastructure patch
Modify the failed cluster and remove the 'AlwaysPullImages' configuration setting.
Properties
- Operating systems
- Any
- Tags
- openshiftapi-serverregistry
- Reference
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.9 Ensure that the admission control plugin AlwaysPullImages is not set