Restore access to deprecated editors

Restore access to deprecated OpenShift Dev Spaces editors on the Dashboard to support users who need them during migration to a supported editor. By default, the Dashboard UI hides them.

Before you begin

Procedure

  1. Determine the IDs of the deprecated editors. An editor ID has the following format: publisher/name/version.
    oc exec deploy/devspaces-dashboard -n openshift-devspaces  \
        -- curl -s http://localhost:8080/dashboard/api/editors | jq -r '[.[] | select(.metadata.tags != null) | select(.metadata.tags[] | contains("Deprecate")) | "\(.metadata.attributes.publisher)/\(.metadata.name)/\(.metadata.attributes.version)"]'
  2. Edit the CheCluster Custom Resource on the cluster:
    $ oc edit checluster/devspaces -n openshift-devspaces
    spec:
      components:
        dashboard:
          deployment:
            containers:
            - env:
              - name: CHE_SHOW_DEPRECATED_EDITORS
                value: 'true'

Results

  • In the OpenShift Dev Spaces Dashboard, go to Create Workspace and verify that the deprecated editors are now visible in the editor selector.