Label Auto-DevOps Namespaces
Problem to solve
We should add labels to the automatically created namespaces in Auto-DevOps to allow them to be more generically selected for NetworkPolicy (gitlab-org/charts/auto-deploy-app!30 (comment 262009750)). Auto-DevOps namespace names are not always predictable. This would allow us to target a specific app namespace.
Intended users
Further details
Proposal
As a minimum we would need labels to uniquely identify the application deployment. That is the project name and environment name, similar to the app annotations app.gitlab.com/app
and app.gitlab.com/env
https://gitlab.com/gitlab-org/charts/auto-deploy-app/blob/407ce966940ebb0329a28415b0763aed9bcf18f9/templates/deployment.yaml#L7