mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 13:27:28 +02:00
Add log messages for usernames (#1692)
* add log messages for usernames * document behavior better in logs Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
co-authored by
Felix Kunde
parent
f9150aa6db
commit
e98439e5b6
@@ -1176,6 +1176,7 @@ func (c *Cluster) initRobotUsers() error {
|
||||
if strings.Contains(username, ".") {
|
||||
splits := strings.Split(username, ".")
|
||||
namespace = splits[0]
|
||||
c.logger.Warningf("enable_cross_namespace_secret is set. Database role name contains the respective namespace i.e. %s is the created user", username)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user