mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	Merge pull request #100418 from swetharepakula/eps-conformance
Promote EndpointSlice API test to Conformance
This commit is contained in:
		
							
								
								
									
										10
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							@@ -1213,6 +1213,16 @@
 | 
				
			|||||||
    named "kubernetes" in the default namespace.
 | 
					    named "kubernetes" in the default namespace.
 | 
				
			||||||
  release: v1.21
 | 
					  release: v1.21
 | 
				
			||||||
  file: test/e2e/network/endpointslice.go
 | 
					  file: test/e2e/network/endpointslice.go
 | 
				
			||||||
 | 
					- testname: EndpointSlice API
 | 
				
			||||||
 | 
					  codename: '[sig-network] EndpointSlice should support creating EndpointSlice API
 | 
				
			||||||
 | 
					    operations [Conformance]'
 | 
				
			||||||
 | 
					  description: The discovery.k8s.io API group MUST exist in the /apis discovery document.
 | 
				
			||||||
 | 
					    The discovery.k8s.io/v1 API group/version MUST exist in the /apis/discovery.k8s.io
 | 
				
			||||||
 | 
					    discovery document. The endpointslices resource MUST exist in the /apis/discovery.k8s.io/v1
 | 
				
			||||||
 | 
					    discovery document. The endpointslices resource must support create, get, list,
 | 
				
			||||||
 | 
					    watch, update, patch, delete, and deletecollection.
 | 
				
			||||||
 | 
					  release: v1.21
 | 
				
			||||||
 | 
					  file: test/e2e/network/endpointslice.go
 | 
				
			||||||
- testname: EndpointSlice Mirroring
 | 
					- testname: EndpointSlice Mirroring
 | 
				
			||||||
  codename: '[sig-network] EndpointSliceMirroring should mirror a custom Endpoints
 | 
					  codename: '[sig-network] EndpointSliceMirroring should mirror a custom Endpoints
 | 
				
			||||||
    resource through create update and delete [Conformance]'
 | 
					    resource through create update and delete [Conformance]'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -332,7 +332,15 @@ var _ = common.SIGDescribe("EndpointSlice", func() {
 | 
				
			|||||||
		expectEndpointsAndSlices(cs, f.Namespace.Name, svc2, []*v1.Pod{pod1, pod2}, 2, 2, true)
 | 
							expectEndpointsAndSlices(cs, f.Namespace.Name, svc2, []*v1.Pod{pod1, pod2}, 2, 2, true)
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ginkgo.It("should support creating EndpointSlice API operations", func() {
 | 
						/*
 | 
				
			||||||
 | 
							Release: v1.21
 | 
				
			||||||
 | 
							Testname: EndpointSlice API
 | 
				
			||||||
 | 
							Description: The discovery.k8s.io API group MUST exist in the /apis discovery document.
 | 
				
			||||||
 | 
							The discovery.k8s.io/v1 API group/version MUST exist in the /apis/discovery.k8s.io discovery document.
 | 
				
			||||||
 | 
							The endpointslices resource MUST exist in the /apis/discovery.k8s.io/v1 discovery document.
 | 
				
			||||||
 | 
							The endpointslices resource must support create, get, list, watch, update, patch, delete, and deletecollection.
 | 
				
			||||||
 | 
						*/
 | 
				
			||||||
 | 
						framework.ConformanceIt("should support creating EndpointSlice API operations", func() {
 | 
				
			||||||
		// Setup
 | 
							// Setup
 | 
				
			||||||
		ns := f.Namespace.Name
 | 
							ns := f.Namespace.Name
 | 
				
			||||||
		epsVersion := "v1"
 | 
							epsVersion := "v1"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user