mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 15:54:17 +02:00
Always empty account's namespace after parsing
This commit is contained in:
@@ -145,8 +145,8 @@ func (c *Controller) initPodServiceAccount() {
|
||||
if c.PodServiceAccount.Name != c.opConfig.PodServiceAccountName {
|
||||
c.logger.Warnf("in the operator config map, the pod service account name %v does not match the name %v given in the account definition; using the former for consistency", c.opConfig.PodServiceAccountName, c.PodServiceAccount.Name)
|
||||
c.PodServiceAccount.Name = c.opConfig.PodServiceAccountName
|
||||
c.PodServiceAccount.Namespace = ""
|
||||
}
|
||||
c.PodServiceAccount.Namespace = ""
|
||||
}
|
||||
|
||||
// actual service accounts are deployed at the time of Postgres/Spilo cluster creation
|
||||
|
||||
Reference in New Issue
Block a user