pgsty / pgsty/pigsty

Request: option to disable etcd password authentication (RBAC)

Open
#712 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API ETCD
Dominant language
Shell
Stars
5.7k
Forks
384
Avg merge
2h 36m
Merged PRs (30d)
2

Description

Given that the default password is only used as a fool-proofing mechanism (#708), and that Patroni cannot reload etcd password without restarting, it's nice to have an option to disable etcd password authentication in pigsty.yml. The benefits are:

  1. Improve backward compatibility with shared etcd clusters set up by Pigsty v3.7.
  2. In some environments where weak passwords are forbidden or passwords need to be rotated periodically (e.g. for compliance reasons), this reduces maintenance churn.

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 reading pigsty.yml and tracing the existing etcd password-authentication configuration into Patroni. Check how configuration changes are applied when Patroni cannot reload the etcd password without restarting. Done means an explicit option can disable etcd password authentication while preserving the stated backward-compatibility and password-rotation use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
authentication, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.