zalando / zalando/postgres-operator

Want to set imagePullSecret in CR

Open
#2,911 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Please, answer some short questions which should help us to understand your problem / question better?

  • Which image of the operator are you using? e.g. ghcr.io/zalando/postgres-operator:v1.13.0
    ghcr.io/zalando/postgres-operator:v1.14.0
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? [AWS K8s | GCP ... | Bare Metal K8s]
    AWS EKS and HuaweiCloud CCE
  • Are you running Postgres Operator in production? [yes | no]
    No
  • Type of issue? [Bug report, question, feature request, etc.]
    feature request

Some general remarks

Hi guys, I'm deploy postgresql cluster on my K8s cluster, all looks good. But when I want to use my private registry image to deploy postgresql cluster, I found I can't set imagePullSecret for statefulSet. So this issue is a feature request, I want to set imagePullSecret in CR

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 tracing how the Postgres custom resource (CR) is translated into a StatefulSet, focusing on where pod image settings are defined. Confirm how imagePullSecret should be represented in the CR and verify that a generated StatefulSet uses it for private registry images; the issue names no files or tests, so repository exploration is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes, postgresql
Domain
databases, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.