Skip to content

Make lifecycle options configurable in the deployment

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do?

This MR adds the possibility to configure lifecycle options to the gitlab-runner.

Why was this MR needed?

When updating the gitlab-runner in your cluster via helmfile, the gitlab runner "updates itself", which leads to shutting itself down. When using the lifecycle options combined with the already existing terminationGracePeriodSeconds, you can let the runner finish updating itself before shutting down.

Edited by 🤖 GitLab Bot 🤖

Merge request reports