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

regsitry/repository/tag-approach for spilo and logical-backup image #2689

Open
olivier-derom opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@olivier-derom
Copy link

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

  • Which image of the operator are you using? ghcr.io/zalando/postgres-operator:v1.12.2
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? AWS K8s/EKS
  • Are you running Postgres Operator in production? yes
  • Type of issue? feature request

Some general remarks when posting a bug report:

  • Please, check the operator, pod (Patroni) and postgresql logs first. When copy-pasting many log lines please do it in a separate GitHub gist together with your Postgres CRD and configuration manifest.
  • If you feel this issue might be more related to the Spilo docker image or Patroni, consider opening issues in the respective repos.

When using the helm chart, the operator allows to generate the image through

image:
  registry: ghcr.io
  repository: zalando/postgres-operator
  tag: v1.12.2

This is a good approach, as we can simply update the registry to point to our private-registry, while still rely on the Chart's default values to select the correct tag.
e.g.

image:
  registry: my-pullthrough-registry.com
  repository: zalando/postgres-operator
  tag: v1.12.2

However, the Spilo docker image configGeneral.docker_image and logicalbackup image configLogicalBackup.logical_backup_docker_image use a full image path, which means we cannot reply on the Chart's default values to update the tag when updating the chart version, as we use a custom registry.

It would be a small effort to follow the same, more dynamic regsitry/repository/tag-approach.

Let me know what you think.
Thanks!

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

1 participant