mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
Export endpoints, endpointslice, mirroring controller names
This commit is contained in:
@@ -397,7 +397,7 @@ func TestSyncServiceEndpointSlicePendingDeletion(t *testing.T) {
|
||||
OwnerReferences: []metav1.OwnerReference{*ownerRef},
|
||||
Labels: map[string]string{
|
||||
discovery.LabelServiceName: serviceName,
|
||||
discovery.LabelManagedBy: controllerName,
|
||||
discovery.LabelManagedBy: ControllerName,
|
||||
},
|
||||
DeletionTimestamp: &deletedTs,
|
||||
},
|
||||
@@ -442,7 +442,7 @@ func TestSyncServiceEndpointSliceLabelSelection(t *testing.T) {
|
||||
OwnerReferences: []metav1.OwnerReference{*ownerRef},
|
||||
Labels: map[string]string{
|
||||
discovery.LabelServiceName: serviceName,
|
||||
discovery.LabelManagedBy: controllerName,
|
||||
discovery.LabelManagedBy: ControllerName,
|
||||
},
|
||||
},
|
||||
AddressType: discovery.AddressTypeIPv4,
|
||||
@@ -453,7 +453,7 @@ func TestSyncServiceEndpointSliceLabelSelection(t *testing.T) {
|
||||
OwnerReferences: []metav1.OwnerReference{*ownerRef},
|
||||
Labels: map[string]string{
|
||||
discovery.LabelServiceName: serviceName,
|
||||
discovery.LabelManagedBy: controllerName,
|
||||
discovery.LabelManagedBy: ControllerName,
|
||||
},
|
||||
},
|
||||
AddressType: discovery.AddressTypeIPv4,
|
||||
@@ -472,7 +472,7 @@ func TestSyncServiceEndpointSliceLabelSelection(t *testing.T) {
|
||||
Namespace: ns,
|
||||
Labels: map[string]string{
|
||||
discovery.LabelServiceName: "something-else",
|
||||
discovery.LabelManagedBy: controllerName,
|
||||
discovery.LabelManagedBy: ControllerName,
|
||||
},
|
||||
},
|
||||
AddressType: discovery.AddressTypeIPv4,
|
||||
@@ -529,7 +529,7 @@ func TestOnEndpointSliceUpdate(t *testing.T) {
|
||||
Namespace: ns,
|
||||
Labels: map[string]string{
|
||||
discovery.LabelServiceName: serviceName,
|
||||
discovery.LabelManagedBy: controllerName,
|
||||
discovery.LabelManagedBy: ControllerName,
|
||||
},
|
||||
},
|
||||
AddressType: discovery.AddressTypeIPv4,
|
||||
@@ -1750,7 +1750,7 @@ func TestSyncServiceStaleInformer(t *testing.T) {
|
||||
Generation: testcase.informerGenerationNumber,
|
||||
Labels: map[string]string{
|
||||
discovery.LabelServiceName: serviceName,
|
||||
discovery.LabelManagedBy: controllerName,
|
||||
discovery.LabelManagedBy: ControllerName,
|
||||
},
|
||||
},
|
||||
AddressType: discovery.AddressTypeIPv4,
|
||||
@@ -1977,7 +1977,7 @@ func TestUpdateNode(t *testing.T) {
|
||||
Namespace: "ns",
|
||||
Labels: map[string]string{
|
||||
discovery.LabelServiceName: "svc",
|
||||
discovery.LabelManagedBy: controllerName,
|
||||
discovery.LabelManagedBy: ControllerName,
|
||||
},
|
||||
},
|
||||
Endpoints: []discovery.Endpoint{
|
||||
|
||||
Reference in New Issue
Block a user