zalando / zalando/postgres-operator

change imagePullPolicy in manifest

Open
#668 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Go
Stars
5.2k
Forks
1.1k
Avg merge
2d 16h
Merged PRs (30d)
3

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the manifests and the code that creates the PostgreSQL StatefulSet, then trace how settings for the custom Spilo image are passed into it. Confirm whether imagePullPolicy can be exposed as a cluster option and identify the relevant validation or deployment tests; done means developers can set the policy for non-production clusters.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes, postgresql
Domain
databases, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.