Deploy several "production" environments in same Kubernetes namespace
Hi. I have GitLab EE Starter and Kubernetes cluster. In every namespace (1 namespace per site) I deployed some web microservices (1 microservice per git repo) (nodejs, php+fpm, ruby, etc.)
I can't deploy several Kubernetes deployments with an environment, exactly named "production" in same Kubernetes namespace. GitLab requires Pod/Deployment labels, exactly named as $CI_ENVIRONMENT_SLUG variable, what will break metrics, deploy boards, etc., if it will be named equally for different deployments
If I'm changing environment name to, e.g., "production-nodejs" various GitLab features will stop working (such as Cycle Analytics, information about deployment and metrics from Prometheus in Merge Requests, etc.) because GitLab expects environment exactly named as "production".
Change checking environment name from
=== "production" to RegEx