mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 18:53:44 +02:00
PreparedDatabases with default role setup
This commit is contained in:
@@ -30,6 +30,7 @@ const (
|
||||
RoleOriginInfrastructure
|
||||
RoleOriginTeamsAPI
|
||||
RoleOriginSystem
|
||||
RoleOriginBootstrap
|
||||
)
|
||||
|
||||
type syncUserOperation int
|
||||
@@ -178,6 +179,8 @@ func (r RoleOrigin) String() string {
|
||||
return "teams API role"
|
||||
case RoleOriginSystem:
|
||||
return "system role"
|
||||
case RoleOriginBootstrap:
|
||||
return "bootstrapped role"
|
||||
default:
|
||||
panic(fmt.Sprintf("bogus role origin value %d", r))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user