@@ -113,11 +113,6 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
113
113
return nil , err
114
114
}
115
115
116
- installationShortNameSuffix := ""
117
- if ctx .Config .Metadata .InstallationShortname != "" {
118
- installationShortNameSuffix = "-" + ctx .Config .Metadata .InstallationShortname
119
- }
120
-
121
116
wsmcfg := config.ServiceConfiguration {
122
117
Manager : config.Configuration {
123
118
Namespace : ctx .Namespace ,
@@ -142,8 +137,8 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
142
137
InitProbe : config.InitProbeConfiguration {
143
138
Timeout : (1 * time .Second ).String (),
144
139
},
145
- WorkspaceURLTemplate : fmt .Sprintf ("https://{{ .Prefix }}.ws%s .%s" , installationShortNameSuffix , ctx .Config .Domain ),
146
- WorkspacePortURLTemplate : fmt .Sprintf ("https://{{ .WorkspacePort }}-{{ .Prefix }}.ws%s .%s" , installationShortNameSuffix , ctx .Config .Domain ),
140
+ WorkspaceURLTemplate : fmt .Sprintf ("https://{{ .Prefix }}.ws.%s" , ctx .Config .Domain ),
141
+ WorkspacePortURLTemplate : fmt .Sprintf ("https://{{ .WorkspacePort }}-{{ .Prefix }}.ws.%s" , ctx .Config .Domain ),
147
142
WorkspaceHostPath : wsdaemon .HostWorkingArea ,
148
143
Timeouts : config.WorkspaceTimeoutConfiguration {
149
144
AfterClose : timeoutAfterClose ,
0 commit comments