Skip to content

Allow to overwrite Pod labels in the Kubernetes executor

What does this MR do?

Similar to annotations overwrites, this MR allows to configure allowed Pod labels overwrites with:

[[runners]]
  # ...
  [runners.kubernetes]
    # ...
    pod_labels_overwrite_allowed = "foo.*"

And then overwrite the label using job's variables:

variables:
  KUBERNETES_POD_LABELS_1: foo-bar=baz

Related issues

Related to #28767.

Edited by Mathieu Parent

Merge request reports