Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Configuring allowed URLs for Cloud Development Environment #2790

Merged
merged 3 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ IgnoreURLs:
- https://mattermost.eclipse.org/eclipse/channels/eclipse-che
- https://git.example.com:8443
- https://stackoverflow.com/questions/tagged/eclipse-che
- https://example.com/

1 change: 1 addition & 0 deletions modules/administration-guide/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
*** xref:configuring-workspaces-nodeselector.adoc[]
*** xref:configuring-the-open-vsx-registry-url.adoc[]
*** xref:configuring-a-user-namespace.adoc[]
*** xref:configuring-allowed-urls-for-cloud-development-environments.adoc[]
** xref:caching-images-for-faster-workspace-start.adoc[]
*** xref:installing-image-puller-on-kubernetes-by-using-cli.adoc[]
*** xref:installing-image-puller-on-openshift-using-cli.adoc[]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
:_content-type: PROCEDURE
:description: Configuring allowed URLs for Cloud Development Environments
:keywords: administration guide, configuring-allowed-sources
:navtitle: Configuring allowed URLs for Cloud Development Environments

[id="configuring-allowed-urls-for-cloud-development-environments"]
= Configuring allowed URLs for Cloud Development Environments

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.

. Configure allowed sources:
+
[source,subs="+quotes,+attributes"]
----
{orch-cli} patch checluster/{prod-checluster} \
--namespace {prod-namespace} \
--type='merge' \
-p \
'{
"spec": {
"devEnvironments": {
"allowedSources": {
"urls": ["url_1", "url_2"] <1>
}
}
}
}'
----
<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`.

.Additional resources

* xref:using-the-cli-to-configure-the-checluster-custom-resource.adoc[]
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ This section describes how an administrator can configure workspaces globally.
* xref:deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc[]

* xref:configuring-workspaces-nodeselector.adoc[]

* xref:configuring-allowed-urls-for-cloud-development-environments.adoc[]
Loading