Skip to content

Remove env vars if secret is provided

Juan José Ruiz Romero requested to merge jjotah/gitlab-runner:main into main
  • 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?

If we set the runners.secret the env vars are added to the deployment and in the new version we don't need those vars. (As you set with the authToken) and we don't want to set in the values the token we want to set the token with the secret

Why was this MR needed?

If we set the runners.secret the env vars are added to the deployment and in the new version we don't need those vars. (As you set with the authToken) and we don't want to set in the values the token we want to set the token with the secret

What's the best way to test this MR?

Already added

What are the relevant issue numbers?

close #546

Merge request reports

Loading