zalando / zalando/postgres-operator

How can I use post_bootstrap or post_init ?

Open
#2,309 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I want to create user with specific permission. For example I don't want the user that I create be the admin (member of admin role) and just have access to specific database not postgres.

So if I can use post_bootstrap or post_init, my problem get solved.

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 operator entry points or documentation for the post_bootstrap and post_init hooks and determine whether they support creating a non-admin user with access limited to a specific database. Done should clearly document the supported configuration, or identify the missing behavior and its required scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, postgresql
Domain
authorization, databases
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.