File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -783,10 +783,11 @@ func CreateDefaultContainerTemplate(image *schedulerContainerResourcesApi.Image)
783783 },
784784 Security : & schedulerContainerResourcesApi.Security {
785785 SecurityContext : & core.SecurityContext {
786- RunAsUser : util.NewType [int64 ](shared .DefaultRunAsUser ),
787- RunAsGroup : util.NewType [int64 ](shared .DefaultRunAsGroup ),
788- RunAsNonRoot : util .NewType (true ),
789- ReadOnlyRootFilesystem : util .NewType (true ),
786+ RunAsUser : util.NewType [int64 ](shared .DefaultRunAsUser ),
787+ RunAsGroup : util.NewType [int64 ](shared .DefaultRunAsGroup ),
788+ RunAsNonRoot : util .NewType (true ),
789+ ReadOnlyRootFilesystem : util .NewType (true ),
790+ AllowPrivilegeEscalation : util .NewType (false ),
790791 Capabilities : & core.Capabilities {
791792 Drop : []core.Capability {
792793 "ALL" ,
You can’t perform that action at this time.
0 commit comments