mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #111306 from stlaz/restricted_scheduling_test
Make scheduling e2e tests run PSa-restricted pods
This commit is contained in:
		@@ -828,15 +828,17 @@ func initPausePod(f *framework.Framework, conf pausePodConfig) *v1.Pod {
 | 
			
		||||
			OwnerReferences: conf.OwnerReferences,
 | 
			
		||||
		},
 | 
			
		||||
		Spec: v1.PodSpec{
 | 
			
		||||
			SecurityContext:           e2epod.GetRestrictedPodSecurityContext(),
 | 
			
		||||
			NodeSelector:              conf.NodeSelector,
 | 
			
		||||
			Affinity:                  conf.Affinity,
 | 
			
		||||
			TopologySpreadConstraints: conf.TopologySpreadConstraints,
 | 
			
		||||
			RuntimeClassName:          conf.RuntimeClassHandler,
 | 
			
		||||
			Containers: []v1.Container{
 | 
			
		||||
				{
 | 
			
		||||
					Name:  conf.Name,
 | 
			
		||||
					Image: imageutils.GetPauseImageName(),
 | 
			
		||||
					Ports: conf.Ports,
 | 
			
		||||
					Name:            conf.Name,
 | 
			
		||||
					Image:           imageutils.GetPauseImageName(),
 | 
			
		||||
					Ports:           conf.Ports,
 | 
			
		||||
					SecurityContext: e2epod.GetRestrictedContainerSecurityContext(),
 | 
			
		||||
				},
 | 
			
		||||
			},
 | 
			
		||||
			Tolerations:                   conf.Tolerations,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user