Edit the central configuration from the command line

Edit the CheCluster Custom Resource YAML file to customize the behavior of a running OpenShift Dev Spaces instance for your environment.

Before you begin

  • You have an instance of OpenShift Dev Spaces on OpenShift. :_mod-docs-content-type: SNIPPET
  • You have an active oc session with administrative permissions to the OpenShift cluster. See Getting started with the CLI.

Procedure

  1. Edit the CheCluster Custom Resource on the cluster:
    $ oc edit checluster/devspaces -n openshift-devspaces
  2. Save and close the file to apply the changes.

Results

  1. Verify the value of the configured property:
    $ oc get configmap che -o jsonpath='{.data.<configured_property>}' \
    -n openshift-devspaces