Skip to content

Improve documentation about pod_annotations

Romuald Atchadé requested to merge doc-pod-annotations into main

What does this MR do?

Improve the documentation about the pod_annotations config for the executorkubernetes. It also provides an example on how to set this configuration.

Why was this MR needed?

Provide example on how to set the pod_annotations property in the config.toml

[[runners]]
  # usual configuration
  executor = "kubernetes"
  [runners.kubernetes]
    image = "alpine"
    pod_annotations_overwrite_allowed = "*"
    [runners.kubernetes.pod_annotations]
      "Key1" = "Val1"
      "Key2" = "Val2"
      "Key3" = "Val3"
      "Key4" = "Val4"

What's the best way to test this MR?

N/A

What are the relevant issue numbers?

close gitlab-org/charts/gitlab-runner#463 (closed)

Merge request reports