DNS Zone should be configurable in the agent configuration
The agent configuration should include the DNS zone which is then used to setup the hosts in auth proxy. The host configured needs to be passed to rails and then from there used as input to the Devfile gem. Based on which agent is selected for creating the workspace, the dns_zone
for that agent is retrieved from the database, the kubernetes resources are generated for provisioning the workspace.
remote_development:
enabled: true
dns_zone: workspaces.example.com
-
dns_zone
value is immutable as per #395100 (comment 1315742855) - For the purpose of this issue,
enabled
will also be treated immutable and create a followup issue to handle it as per #395100 (comment 1318008370)
Edited by Shekhar Patnaik