Autodevops fails when PRODUCTION_ADDITIONAL_HOSTS contains multiple domains/subdomains with auto-deploy-image:v1.0.2

This CI is now failing when production job is using auto-deploy-image:v1.0.2

variables:
  PRODUCTION_ADDITIONAL_HOSTS: express.one.com, express.two.com, express.three.com
  POSTGRES_ENABLED: "false"
  ROLLOUT_RESOURCE_TYPE: deployment

stages:
  - build
  - test
  - deploy
  - review
  - dast
  - staging
  - canary
  - production
  - incremental rollout 10%
  - incremental rollout 25%
  - incremental rollout 50%
  - incremental rollout 100%
  - performance
  - cleanup

include:
  - template: Jobs/Build.gitlab-ci.yml
  - template: Jobs/Deploy.gitlab-ci.yml

It wasn't failing with auto-deploy-image:v1.0.0 (Tested)

So yeah, this one is passing

variables:
  PRODUCTION_ADDITIONAL_HOSTS: express.one.com, express.two.com, express.three.com
  POSTGRES_ENABLED: "false"
  ROLLOUT_RESOURCE_TYPE: deployment

stages:
  - build
  - test
  - deploy
  - review
  - dast
  - staging
  - canary
  - production
  - incremental rollout 10%
  - incremental rollout 25%
  - incremental rollout 50%
  - incremental rollout 100%
  - performance
  - cleanup

.auto-deploy:
  image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.0"

include:
  - template: Jobs/Build.gitlab-ci.yml
  - template: Jobs/Deploy.gitlab-ci.yml

To make it pass with auto-deploy-image:v1.0.2, I have to set PRODUCTION_ADDITIONAL_HOSTS as

  PRODUCTION_ADDITIONAL_HOSTS: express.one.com,express.two.com,express.three.com

without spaces


Error :
UPGRADE FAILED
Error: Ingress.extensions "production-auto-deploy" is invalid: [spec.rules[3].host: Invalid value: " express.two.com": a DNS-1123 subdomain must consist of lower case alphanumeric characters...............& so on