I’ve noticed that GitLab creates a K8s service account in every namespace created via Auto Devops deploys. In a deploy to a static environment the service account’s name looks like this:
${CI_PROJECT_TITLE}-${CI_PROJECT_ID}-${CI_ENVIRONMENT_NAME}-service-account
However, in review environments the name is a different format. It looks something like:
${CI_PROJECT_TITLE}-${CI_PROJECT_ID}-${CI_ENVIRONMENT_NAME truncated after 16 characters}-<A six character slug I can't identify>-service-account
Does anyone know if the service account name is available as a CI/CD variable or Helm variable? Or otherwise what variables can be used to generate the name consistently across static and dynamic environments? Thanks!