Skip to content

Commit 1972440

Browse files
committed
Removed RunAsUser/RunAsGroup
1 parent 5608432 commit 1972440

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cluster/connection_pooler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ func (c *Cluster) generateConnectionPoolerPodTemplate(role PostgresRole) (
379379
securityContext := v1.PodSecurityContext{}
380380

381381
// determine the User, Group and FSGroup for the pooler pod
382-
securityContext.RunAsUser = &poolerRunAsUser
383-
securityContext.RunAsGroup = &poolerRunAsGroup
382+
// securityContext.RunAsUser = &poolerRunAsUser
383+
// securityContext.RunAsGroup = &poolerRunAsGroup
384384

385385
effectiveFSGroup := c.OpConfig.Resources.SpiloFSGroup
386386
if spec.SpiloFSGroup != nil {

0 commit comments

Comments
 (0)