Hide editors from the dashboard
Hide selected Che editors from the Dashboard UI, for example IntelliJ IDEA Ultimate, and have only Visual Studio Code - Open Source visible.
Prerequisites
-
An active
kubectlsession with administrative permissions to the Kubernetes cluster. See Overview of kubectl. -
jq. See Downloadingjq.
Procedure
-
Determine the IDs of the available editors. An editor ID has the following format:
publisher/name/version.kubectl exec deploy/che-dashboard -n eclipse-che \ -- curl -s http://localhost:8080/dashboard/api/editors | jq -r '[.[] | "\(.metadata.attributes.publisher)/\(.metadata.name)/\(.metadata.attributes.version)"]' -
Edit the
CheClusterCustom Resource on the cluster:kubectl edit checluster/eclipse-che -n eclipse-chespec: components: dashboard: deployment: containers: - env: - name: CHE_HIDE_EDITORS_BY_ID value: 'che-incubator/che-webstorm-server/latest, che-incubator/che-webstorm-server/next' (1)1 A string containing comma-separated IDs of editors to hide.
Verification
-
In the Che Dashboard, go to Create Workspace and verify that the concealed editors are no longer visible.