in controller/webhook.go [286:298]
func extractParameters(host string, name string, region string) (string, string, string) {
	if strings.TrimSpace(name) == "" {
		name = host[:strings.IndexByte(host, '.')]
	}
	hostModified := host[strings.IndexByte(host, '.')+1:]
	if strings.TrimSpace(region) == "" {
		region = hostModified[:strings.IndexByte(hostModified, '.')]
	}
	return host, name, region
}