Skip to content

Commit d41a2d5

Browse files
committed
CON-12387 fix envtest
1 parent c4c66ad commit d41a2d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

envtest/lb_admission_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ func fakeService(annotations map[string]string, spec *corev1.ServiceSpec) *corev
227227
annotations = make(map[string]string)
228228
}
229229
annotations["kubernetes.digitalocean.com/load-balancer-id"] = lbID
230+
annotations["service.beta.kubernetes.io/do-loadbalancer-type"] = godo.LoadBalancerTypeRegional
230231
annotations["service.beta.kubernetes.io/do-loadbalancer-name"] = serviceName
231232
return &corev1.Service{
232233
ObjectMeta: metav1.ObjectMeta{

0 commit comments

Comments
 (0)