Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for imagePullPolicy #154

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

cmergenthaler
Copy link
Contributor

This PR adds the ability to configure ImagePullPolicy for runner and starter specs in K6-CRD.
By default k8s uses IfNotPresent policy for image pulling (except for :latest tags which in this case is Always).
I've also adjusted tests for runner, starter and initializer to check imagePullPolicy.

Closes #152

@yorugac
Copy link
Collaborator

yorugac commented Oct 27, 2022

Hi @cmerge1, Thank you for opening PR! Apologies for the delay but could you please update the branch with the latest main (git rebase)? The code looks fine ATM 👍 But I'll run some tests additionally.

@cmergenthaler
Copy link
Contributor Author

Done

Copy link
Collaborator

@yorugac yorugac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update, @cmerge1! Policy is working, merging in now 👍

@yorugac yorugac merged commit 1b33363 into grafana:main Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ImagePullPolicy option on the runner and starter specs
2 participants