Skip to content

Add resources definition to init-permissions container

Rémy Jacquin requested to merge remyj38/gitlab-runner:init-resources into main

What does this MR do?

When using the kubernetes executor, defining the resources limits and requests (CPU, memory and storage) for init-permissions container

Why was this MR needed?

Some clusters have admission webhooks to force resources definition on each containers, including init-containers.

Without this MR, runners can't run job's pods because of invalid resources declaration.

What's the best way to test this MR?

Build and run a sleeping job and check the manifest.

What are the relevant issue numbers?

Merge request reports