-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Configuring allowed URLs for Cloud Development Environment (#2790
) * chore: Configuring allowed URLs for Cloud Development Environment Signed-off-by: Anatolii Bazko <abazko@redhat.com> * fixup Signed-off-by: Anatolii Bazko <abazko@redhat.com> * fixup Signed-off-by: Anatolii Bazko <abazko@redhat.com> --------- Signed-off-by: Anatolii Bazko <abazko@redhat.com>
- Loading branch information
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...on-guide/pages/configuring-allowed-urls-for-cloud-development-environments.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters