Move from container to job for cache bust #111
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
More drama on the road to cache busting. We started with initContainer and didn't like it because the cache busted too long before app starting. Then we moved to another container in the pod, but we didn't like that because a container has to be long running and has to just loop forever, which is wasteful and confusing - as well as exposing the entire deployment to risk of failure for a bogus reason. So, this refactors AGAIN on a job.