Skip to content

Commit 6803b3f

Browse files
tolushagtrivedi88
andauthored
chore: Allow to configure editor download urls (#2948)
* chore: Allow to configure editor download urls Signed-off-by: Anatolii Bazko <abazko@redhat.com> Co-authored-by: Gaurav Trivedi <90042568+gtrivedi88@users.noreply.github.com>
1 parent 4d97685 commit 6803b3f

File tree

4 files changed

+41
-13
lines changed

4 files changed

+41
-13
lines changed

modules/administration-guide/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
*** xref:show-deprecated-editors.adoc[]
9191
*** xref:configuring-default-editor.adoc[]
9292
*** xref:concealing-editors.adoc[]
93+
*** xref:configuring-editors-download-urls.adoc[]
9394
*** xref:customizing-openshift-che-consolelink-icon.adoc[]
9495
** xref:managing-identities-and-authorizations.adoc[]
9596
*** xref:configuring-oauth-for-git-providers.adoc[]

modules/administration-guide/pages/configuring-dashboard.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
* xref:configuring-editors-definitions.adoc[]
1313

14+
* xref:configuring-editors-download-urls.adoc[]
15+
1416
* xref:show-deprecated-editors.adoc[]
1517

1618
* xref:configuring-default-editor.adoc[]
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+
----

modules/end-user-guide/pages/idea-ultimate.adoc

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,3 @@ image::gateway-select-ws.png[Connecting to OpenShift API server,link="{imagesdir
6767
+
6868

6969
image::gateway-connecting.png[Connecting to remote host,link="{imagesdir}/gateway-connecting.png"]
70-
71-
== Using in a disconnected cluster
72-
73-
The following URLs must be allow-listed on the proxy side:
74-
75-
* https://download.jetbrains.com/idea/ideaIU-2024.3.2.1.tar.gz
76-
* https://download.jetbrains.com/webstorm/WebStorm-2024.3.2.1.tar.gz
77-
* https://download.jetbrains.com/python/pycharm-professional-2024.3.2.tar.gz
78-
* https://download.jetbrains.com/go/goland-2024.3.2.1.tar.gz
79-
* https://download.jetbrains.com/cpp/CLion-2024.3.2.tar.gz
80-
* https://download.jetbrains.com/webide/PhpStorm-2024.3.2.1.tar.gz
81-
* https://download.jetbrains.com/ruby/RubyMine-2024.3.2.1.tar.gz
82-
* https://download.jetbrains.com/rider/JetBrains.Rider-2024.3.4.tar.gz

0 commit comments

Comments
 (0)