mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 22:07:28 +02:00
remove condition for rolesDefs
This commit is contained in:
@@ -124,7 +124,7 @@ func (c *Controller) getInfrastructureRoleDefinitions() []*config.Infrastructure
|
||||
rolesDefs := c.opConfig.InfrastructureRoles
|
||||
|
||||
// check if we can extract something from the configmap config option
|
||||
if len(rolesDefs) == 0 && c.opConfig.InfrastructureRolesDefs != "" {
|
||||
if c.opConfig.InfrastructureRolesDefs != "" {
|
||||
// The configmap option could contain either a role description (in the
|
||||
// form key1: value1, key2: value2), which has to be used together with
|
||||
// an old secret name.
|
||||
|
||||
Reference in New Issue
Block a user