DBZ-2562 correct use of protocol field when creating OCP service

This commit is contained in:
jcechace 2020-09-21 13:32:59 +02:00 committed by Jiri Pechanec
parent 0bd664e469
commit ed0c5e070d

View File

@ -82,7 +82,7 @@ public Service createService(String project, String name, String portName, int p
.endMetadata()
.withNewSpec()
.addNewPort()
.withAppProtocol("tcp")
.withProtocol("TCP")
.withName(portName).withPort(port).withTargetPort(new IntOrString(port))
.endPort()
.withSelector(selector)