Skip to content

Role seems to be login in secret #233

@halkeye

Description

@halkeye

Looking at https://github.com/movetokube/postgres-operator/blob/master/internal/controller/postgresuser_controller.go#L168 its setting ROLE to role which is what login is based on.

Does it make sense to set it to PostgresGroup? or have another variable for it?

LOGIN='jellystat-c3WD9F'
ROLE='jellystat-c3WD9F'

I only noticed because jellystat defaults the role to the login unless you override it, so i override it to ROLE, and i got an error about setting the table owner to 'jellystat-c3WD9F' not the 'jellystat-group'

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