Concealing editors
Learn how to conceal Che editors. This is useful when you want to hide selected editors from the Dashboard UI, e.g. hide the IntelliJ IDEA Ultimate and have only Visual Studio Code - Open Source visible.
Prerequisites
-
An active
kubectl
session with administrative permissions to the Kubernetes cluster. See Overview of kubectl. -
jq
. See Downloadingjq
.
Procedure
-
An editor ID has the following format:
publisher/name/version
. Find out the IDs of the available editors: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)"]'
-
Configure the
CheCluster
Custom Resource. See Using the CLI to configure the CheCluster Custom Resource.spec: 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.