-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Override workspace base domain (#2826)
* feat: Override workspace base domain Signed-off-by: Anatolii Bazko <[email protected]> * Fixup Signed-off-by: Anatolii Bazko <[email protected]> * Update modules/administration-guide/pages/configuring-workspaces-endpoints-base-domain.adoc Co-authored-by: Jana Vrbkova <[email protected]> --------- Signed-off-by: Anatolii Bazko <[email protected]> Co-authored-by: Jana Vrbkova <[email protected]>
- Loading branch information
1 parent
111ffa8
commit 5a7725d
Showing
4 changed files
with
44 additions
and
1 deletion.
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
41 changes: 41 additions & 0 deletions
41
...es/administration-guide/pages/configuring-workspaces-endpoints-base-domain.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,41 @@ | ||
:_content-type: PROCEDURE | ||
:description: Configuring workspace endpoints base domain | ||
:keywords: administration guide, workspaces, networking, endpoints, domain | ||
:navtitle: Configuring workspace endpoints base domain | ||
:page-aliases: | ||
|
||
[id="configuring-workspaces-endpoints-base-domain"] | ||
= Configuring workspace endpoints base domain | ||
|
||
Learn how to configure the base domain for workspace endpoints. | ||
By default, {prod-short} Operator automatically detects the base domain. To change it, you need to configure the `CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAIN__SUFFIX` property in the `CheCluster` Custom Resource. | ||
[source,yaml,subs="+quotes"] | ||
---- | ||
spec: | ||
components: | ||
cheServer: | ||
extraProperties: | ||
CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAIN__SUFFIX: "<...>" <1> | ||
---- | ||
<1> Workspace endpoints base domain, for example, `my-{prod-id-short}.example.com`. | ||
|
||
.Procedure | ||
|
||
. Configure the workspace endpoints base domain: | ||
+ | ||
[source,subs="+quotes,attributes"] | ||
---- | ||
{orch-cli} patch checluster/{prod-checluster} \ | ||
--namespace {prod-namespace} \ | ||
--type='merge' -p \ | ||
'{"spec": | ||
{"components": | ||
{"cheServer": | ||
{"extraProperties": | ||
{"CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAIN__SUFFIX": "my-{prod-id-short}.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