Skip to content

Commit 45a20da

Browse files
committed
chore: New Additional resources snippet (#2938)
* fixed typo * fixed missing letter * create snippet * create snippet
1 parent 5a3ef89 commit 45a20da

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:_content-type: SNIPPET
2+
3+
.Additional resources
4+
5+
* xref:using-chectl-to-configure-the-checluster-custom-resource-during-installation.adoc[]
6+
7+
* xref:using-the-cli-to-configure-the-checluster-custom-resource.adoc[]
8+
9+
* {editor-definition-samples-link}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
:_content-type: PROCEDURE
2+
:description: Concealing editors in the Dashboard UI
3+
:keywords: administration guide, concealing, dashboard, editors
4+
:navtitle: Concealing editors
5+
6+
[id="concealing-editors"]
7+
= Concealing editors
8+
9+
Learn how to conceal {prod-short} 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.
10+
11+
.Prerequisites
12+
13+
* An active `{orch-cli}` session with administrative permissions to the {orch-name} cluster. See {orch-cli-link}.
14+
15+
* `jq`. See link:https://stedolan.github.io/jq/download/[Downloading `jq`].
16+
17+
.Procedure
18+
19+
include::example$snip_che-editor-id-list.adoc[]
20+
21+
. Configure the `CheCluster` Custom Resource. See xref:using-the-cli-to-configure-the-checluster-custom-resource.adoc[].
22+
+
23+
[source,yaml]
24+
----
25+
spec:
26+
components:
27+
dashboard:
28+
deployment:
29+
containers:
30+
- env:
31+
- name: CHE_HIDE_EDITORS_BY_ID
32+
value: 'che-incubator/che-webstorm-server/latest, che-incubator/che-webstorm-server/next' <1>
33+
----
34+
<1> A string containing comma-separated IDs of editors to hide.
35+
36+
include::example$snip_{project-context}-concealing-editors-additional-resources.adoc[]

0 commit comments

Comments
 (0)