Skip to content

Commit 5305090

Browse files
committed
chore: Allow to configure editor download urls
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
1 parent e88f117 commit 5305090

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
:_content-type: PROCEDURE
2+
:description: Configuring editors download urls
3+
:keywords: administration guide, dashboard, editors
4+
:navtitle: Configuring editors download urls
5+
6+
[id="configuring-editors-download-urls"]
7+
= Configuring editors download URLs
8+
9+
This procedure describes how to configure download URLs for editors. This feature is valuable in air-gapped environments where editors cannot be retrieved from the public internet. Currently, this option is intended only for JetBrains editors and should not be used for other editor types.
10+
11+
.Prerequisites
12+
13+
* You have an active `_orch-cli_` session with administrative permissions to the `{orch-name}` cluster. For more information, 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 download URLs for editors:
22+
+
23+
[source,subs="+quotes,+attributes"]
24+
----
25+
{orch-cli} patch checluster/{prod-checluster} \
26+
--namespace {prod-namespace} \
27+
--type='merge' \
28+
-p '{
29+
"spec": {
30+
"devEnvironments": {
31+
"editorsDownloadUrls": [
32+
{ "editor": "publisher1/editor-name1/version1", "url": "https://example.com/editor1.tar.gz" },
33+
{ "editor": "publisher2/editor-name2/version2", "url": "https://example.com/editor2.tar.gz" }
34+
]
35+
}
36+
}
37+
}'
38+
----

0 commit comments

Comments
 (0)