Skip to content

Commit e4fb347

Browse files
committed
chore: Configuring allowed URLs for Cloud Development Environment
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
1 parent dcbd82a commit e4fb347

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

modules/administration-guide/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
*** xref:configuring-workspaces-nodeselector.adoc[]
4949
*** xref:configuring-the-open-vsx-registry-url.adoc[]
5050
*** xref:configuring-a-user-namespace.adoc[]
51+
*** xref:configuring-allowed-urls-for-cloud-development-environments.adoc[]
5152
** xref:caching-images-for-faster-workspace-start.adoc[]
5253
*** xref:installing-image-puller-on-kubernetes-by-using-cli.adoc[]
5354
*** xref:installing-image-puller-on-openshift-using-cli.adoc[]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
:_content-type: PROCEDURE
2+
:description: Configuring allowed URLs for Cloud Development Environments
3+
:keywords: administration guide, configuring-allowed-sources
4+
:navtitle: Configuring allowed URLs for Cloud Development Environments
5+
6+
[id="configuring-allowed-urls-for-cloud-development-environments"]
7+
= Configuring allowed URLs for Cloud Development Environments
8+
9+
Allowed URLs play an important role in securing the initiation of Cloud Development Environments (CDEs), ensuring that they can only be launched from authorized sources. By utilizing wildcard support, such as `*`, organizations can implement flexible URL patterns, allowing for dynamic and secure CDE initiation across various paths within a domain.
10+
11+
. Configure allowed sources:
12+
+
13+
[source,subs="+quotes,+attributes"]
14+
----
15+
{orch-cli} patch checluster/{prod-checluster} \
16+
--namespace {prod-namespace} \
17+
--type='merge' \
18+
-p \
19+
'{
20+
"spec": {
21+
"devEnvironments": {
22+
"allowedSources": {
23+
"urls": ["url_1", "url_2"] <1>
24+
}
25+
}
26+
}
27+
}'
28+
----
29+
<1> The array of approved URLs for starting Cloud Development Environments (CDEs). CDEs can only be initiated from these URLs. Wildcards `\*` are supported in URLs. For example, `https://example.com/*` would allow CDEs to be initiated from any path within `example.com`.
30+
31+
.Additional resources
32+
33+
* xref:using-the-cli-to-configure-the-checluster-custom-resource.adoc[]

modules/administration-guide/pages/configuring-workspaces-globally.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ This section describes how an administrator can configure workspaces globally.
1818
* xref:deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc[]
1919

2020
* xref:configuring-workspaces-nodeselector.adoc[]
21+
22+
* xref:configuring-allowed-urls-for-cloud-development-environments.adoc[]

0 commit comments

Comments
 (0)