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

lagoon-core default imagePullPolicy is Always #675

Open
shreddedbacon opened this issue Jul 23, 2024 · 1 comment
Open

lagoon-core default imagePullPolicy is Always #675

shreddedbacon opened this issue Jul 23, 2024 · 1 comment

Comments

@shreddedbacon
Copy link
Member

The default imagePullPolicy is Always for the lagoon-core chart.

Would it make sense to use IfNotPresent for releases, and leave Always for testing/local-dev only?

I want to use IfNotPresent so that restarting containers is quicker in a deployed production Lagoon, currently I need to modify all the services individually, as there isn't a way to set the policy override globally.

For example, there is an ability to provide a .imageTag that can be applied to most images that use the lagoon-core version. It would be nice to be able to have a .pullPolicy value that could be used for changing the imagePullPolicy on these same images.

image: "{{ .Values.apiRedis.image.repository }}:{{ coalesce .Values.apiRedis.image.tag .Values.imageTag .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.apiRedis.image.pullPolicy }}
@tobybellwood
Copy link
Member

I think this makes sense to implement - we don't* reuse release tags

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

No branches or pull requests

2 participants