mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 21:16:25 +02:00
set allowPrivilegeEscalation for deployment templates
This commit is contained in:
@@ -280,6 +280,9 @@ func (c *Cluster) generateConnectionPoolerPodTemplate(role PostgresRole) (
|
||||
},
|
||||
},
|
||||
},
|
||||
SecurityContext: &v1.SecurityContext{
|
||||
AllowPrivilegeEscalation: util.False(),
|
||||
},
|
||||
}
|
||||
|
||||
podTemplate := &v1.PodTemplateSpec{
|
||||
|
||||
Reference in New Issue
Block a user