Kubernetes client cancellation context
In !2878 (merged), to upgrade Go, we had to upgrade the Kubernetes Go client. A consequence of this was that the new client API accepts a context for making requests.
!2878 (merged) focused solely on the upgrade, not wanting to change any existing logic. For this reason, context.TODO()
has been passed.
We should replace context.TODO()
with either the executor's or build stage's context and test the behaviour thoroughly.