mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 12:51:45 +02:00
Allow global configuration options for API roles.
Add options to the PgUser structure, potentially allowing to set per-role options in the cluster definition as well. Introduce api_roles_configuration operator option with the default of log_statement=all
This commit is contained in:
@@ -44,6 +44,7 @@ type syncUserOperation int
|
||||
const (
|
||||
PGSyncUserAdd = iota
|
||||
PGsyncUserAlter
|
||||
PGSyncAlterSet // handle ALTER ROLE SET parameter = value
|
||||
)
|
||||
|
||||
// PodEvent describes the event for a single Pod
|
||||
@@ -61,6 +62,7 @@ type PgUser struct {
|
||||
Password string
|
||||
Flags []string
|
||||
MemberOf []string
|
||||
Parameters map[string]string
|
||||
}
|
||||
|
||||
// PgUserMap maps user names to the definitions.
|
||||
|
||||
Reference in New Issue
Block a user