Configuring workspace endpoints base domain
Learn how to configure the base domain for workspace endpoints.
By default, Che 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.
spec:
components:
cheServer:
extraProperties:
CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAIN__SUFFIX: "<...>" (1)
1 | Workspace endpoints base domain, for example, my-che.example.com . |
Procedure
-
Configure the workspace endpoints base domain:
kubectl patch checluster/eclipse-che \ --namespace eclipse-che \ --type='merge' -p \ '{"spec": {"components": {"cheServer": {"extraProperties": {"CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAIN__SUFFIX": "my-che.example.com"}}}}}'
Additional resources