Skip to content

Commit 2f4aa8a

Browse files
committed
default protocol on Port to avoid apiserver defaulting it
1 parent d15738f commit 2f4aa8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/deployment_appwrapper_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func runDeploymentAppWrapper(t *testing.T) {
109109
Spec: corev1.ServiceSpec{
110110
Type: corev1.ServiceTypeClusterIP,
111111
Selector: map[string]string{"app": "inference"},
112-
Ports: []corev1.ServicePort{{Port: 8080}},
112+
Ports: []corev1.ServicePort{{Port: 8080, Protocol: corev1.ProtocolTCP}},
113113
},
114114
}
115115

0 commit comments

Comments
 (0)