Skip to content

change imagePullPolicy in manifest #668

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

Open
hedgss opened this issue Sep 12, 2019 · 3 comments · May be fixed by #2725
Open

change imagePullPolicy in manifest #668

hedgss opened this issue Sep 12, 2019 · 3 comments · May be fixed by #2725

Comments

@hedgss
Copy link

hedgss commented Sep 12, 2019

Hi All,

I need to be able to set custom imagePullPolicy value for StatefulSet for postgres clusters.
I don't see this option in manifests.

I am using custom spilo docker image. It is more convenient for developers to be able to replace non-prod docker images to test it in Dev kubernetes cluster.

How can I change this option? Is it possible?

@Jan-M
Copy link
Member

Jan-M commented Sep 16, 2019

Given our favorism for immutable docker images I don't see us implement this anytime soon, despite this sounding very easy.

Maybe you just have a go yourself. compare with any other String field in the spec and Statefulset.

@hedgss
Copy link
Author

hedgss commented Sep 20, 2019

We also use immutable docker images for non-dev Kubernetes clusters.
But is more convenient to use mutable docker images for dev purposes.

Thank you for clarification.

@kannanvr
Copy link

@Jan-M , Shall i take this issue to contribute?
Is it needed a CRD changes ? On postgresqls.acid.zalan.do, Do we have to add the new param like imagePullPolicy ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants