mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 16:24:19 +02:00
new default values for user and role definition
This commit is contained in:
@@ -207,7 +207,7 @@ func (c *Cluster) deleteConnectionPooler() (err error) {
|
||||
serviceName = service.Name
|
||||
}
|
||||
|
||||
// set delete propagation policy to foreground, so that all the dependant
|
||||
// set delete propagation policy to foreground, so that all the dependent
|
||||
// will be deleted.
|
||||
err = c.KubeClient.
|
||||
Services(c.Namespace).
|
||||
|
||||
@@ -500,6 +500,7 @@ func (c *Cluster) syncSecrets() error {
|
||||
c.logger.Warningf("secret %q does not contain the role %q", secretSpec.Name, secretUsername)
|
||||
continue
|
||||
}
|
||||
c.Secrets[secret.UID] = secret
|
||||
c.logger.Debugf("secret %q already exists, fetching its password", util.NameFromMeta(secret.ObjectMeta))
|
||||
if secretUsername == c.systemUsers[constants.SuperuserKeyName].Name {
|
||||
secretUsername = constants.SuperuserKeyName
|
||||
|
||||
Reference in New Issue
Block a user