Red Hat OpenShift
TMA-OPENSHIFT-1.2.31
Ensure unsupported configuration overrides are not used
MediumLevel 1Manual reviewopenshift
Description
OpenShift supported an option called unsupportedConfigOverrides that allowed users to opt into unsupported behavior. This option is no longer supported by OpenShift and should not be used. 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.
Make sure the unsupportedConfigOverrides in your deployment returns null using the following command: oc get kubeapiserver/cluster -o jsonpath='{.spec.unsupportedConfigOverrides}' The output should return null. Any other return value is a finding and you should migrate away from that particular configuration.
How it is fixed
Fix method: Guidance or infrastructure patch
set this value to null
Properties
- Operating systems
- Any
- Tags
- openshiftapi-server
- Reference
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.31 Ensure unsupported configuration overrides are not used