Skip to content

Use local Unix domain socket connection for password sync #221

Open
@mgomezch

Description

@mgomezch

Instead of trying to use a superuser connection, the operator could exec psql in database pods to sync passwords, which would use a local connection through the PostgreSQL Unix domain socket. This would allow the operator to sync passwords even if the superuser secret is not consistent with a running cluster's state, which in turn would remove the need to preserve secrets upon cluster deletion, and simplify the process of restoring backups.

This may have a very low priority as the current workaround of not deleting secrets is effective.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions