Remove repeated initialization of Pod ServiceAccount (#1164)

Co-authored-by: xin.liu <xin.liu@woqutech.com>
This commit is contained in:
刘新 2020-10-20 20:18:22 +08:00 committed by GitHub
parent 1f5d0995a5
commit a8bfe4eb87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -295,7 +295,6 @@ func (c *Controller) initController() {
c.logger.Fatalf("could not register Postgres CustomResourceDefinition: %v", err)
}
c.initPodServiceAccount()
c.initSharedInformers()
if c.opConfig.DebugLogging {