Getting OpenShift 4.x Global Configurations

Solution Verified - Updated

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

Issue

  • I need to get the global configuration for a component of OpenShift. How do I pull this data?

Diagnostic Steps

  • To see what all the global configurations areas are, run the following:

    $ oc api-resources -o name | grep config.openshift.io
    
  • If you want to see what configuration or configurable are in place on the cluster you can inspect the yaml for the objects found by each of these CRD's.

    • $config below is from the api object (CRD); You need to run oc get $crd -o name where the $crd is pulled from the command above.
    $ oc get $config -o yaml
    
SBR
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.