Skip to content

Use pull policy configuration for services

Hannes Hörl requested to merge hhoerl/37496-pull-policies into main

What does this MR do?

Users can define pull policies for services, however only the one configured for the build pod is used. This now uses separate pull policies per service container, if configured.

Why was this MR needed?

To allow users to use different pull policies for service containers and build container.

What's the best way to test this MR?

  • go test -v ./executors/kubernetes
  • go test -v -run TestContainerPullPolicies ./executors/kubernetes
  • also see here

What are the relevant issue numbers?

close #37496

Edited by Romuald Atchadé

Merge request reports