Skip to content

Pass GitLab environment info to Helm

Problem

When running an application that's been deployed with ~"auto devops", no context is provided as to which GitLab environment the application is running under. Unfortunately, this preventing the adoption of Feature Flags.

Proposed Solution

  • Create a new value gitlab.envName and set to $CI_ENVIRONMENT_NAME
  • Create a new value gitlab.envURL and set to $CI_ENVIRONMENT_URL

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/65735

Related to gitlab-org/charts/auto-deploy-app!8 (merged)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading