mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-07 05:53:16 +02:00
Rename the option
This commit is contained in:
@@ -710,7 +710,7 @@ func (c *Cluster) initRobotUsers() error {
|
||||
return fmt.Errorf("invalid flags for user %q: %v", username, err)
|
||||
}
|
||||
adminRole := ""
|
||||
if c.OpConfig.AddAdminFlagToRobotRoles {
|
||||
if c.OpConfig.EnableAdminRoleForUsers {
|
||||
adminRole = c.OpConfig.TeamAdminRole
|
||||
}
|
||||
newRole := spec.PgUser{
|
||||
|
||||
Reference in New Issue
Block a user