Missing procps package causes GitLab Runner deployed by the operator to fail the liveliness and readiness probe
In this merge request, it appears that we removed the procps package.
In the image:
registry.gitlab.com/gitlab-org/ci-cd/gitlab-runner-ubi-images/gitlab-runner-ocp:v16.3.1
The pgrep command is missing:
root@ip-172-31-47-70:~# docker run -it --entrypoint sh registry.gitlab.com/gitlab-org/ci-cd/gitlab-runner-ubi-images/gitlab-runner-ocp:v16.3.1
sh-4.4$ /usr/bin/pgrep
sh: /usr/bin/pgrep: No such file or directory
This causes the runner deployed by the operator to fail as pgrep is used by the liveliness and readiness probe.
I checked and the command is present in an older version of the image:
root@ip-172-31-47-70:~# docker run -it --entrypoint sh registry.gitlab.com/gitlab-org/ci-cd/gitlab-runner-ubi-images/gitlab-runner-ocp:v16.2.0
sh-4.4$ /usr/bin/pgrep --version
pgrep from procps-ng 3.3.15