Add service account name in connection pooler (#2352)

This commit is contained in:
Thinking Chen
2023-09-04 16:26:21 +02:00
committed by GitHub
parent eb0d55ea49
commit 781d17b85c
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -406,6 +406,7 @@ func (c *Cluster) generateConnectionPoolerPodTemplate(role PostgresRole) (
Tolerations: tolerationsSpec,
Volumes: poolerVolumes,
SecurityContext: &securityContext,
ServiceAccountName: c.OpConfig.PodServiceAccountName,
},
}