Skip to content

Allow setting database/owner/secret when using recovery mode #546

@brinnjoyce

Description

@brinnjoyce

Currently the recovery mode does not set the database, owner or secret keys documented in https://cloudnative-pg.io/documentation/1.24/recovery/#configure-the-application-database

This results in the operator defaulting to app:app. Which works fine if the source database name was app, but if you're using anything else the recovery does not do anything to grant access to the db that has been restored.

For now I've had to create a secret with the credentials from the source and have my application use those to work around this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions