Skip to content

Resolve "CI variables are not parameterized for alerting rules"

What does this MR do?

This MR parameterizes alerting rules and replaces variables:

  • %{ci_environment_slug} with Environment#slug
  • %{kube_namespace} with environment.deployment_platform&.actual_namespace
  • %{environment_filter} with %{container_name!="POD",environment="#{environment.slug}"}

CE Backport: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23335

What are the relevant issue numbers?

#7527 (closed)

Does this MR meet the acceptance criteria?

Closes #7527 (closed)

Edited by Grzegorz Bizon

Merge request reports