zalando / zalando/postgres-operator

How to force recreate user after promoting standby cluster

Open
#2,396 1 comment 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

  • Which image of the operator are you using? registry.opensource.zalan.do/acid/postgres-operator:v1.10.0
  • Where do you run it - AWS EKS
  • Are you running Postgres Operator in production? Not yet
  • Type of issue? question

Is there a possibility to automatically recreate 'defaultUsers' and 'defaultRoles' in cluster after promoting? Or i need to do it manually?

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 reviewing how standby-cluster promotion is handled and how the defaultUsers and defaultRoles settings are applied in the Postgres Operator. Determine whether promotion can recreate them automatically or whether the documented outcome is that users must be recreated manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go, kubernetes, postgresql
Domain
databases, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.