fix(project-generator): Set jolokia port name in OpenShift resources
OpenShift console requires the Jolokia port to be named `jolokia` in order for the JVM console to
work properly. This change ensures the port is named correctly.
Fixes
@@ -150,7 +150,8 @@ public class OpenShiftServiceImpl implements OpenShiftService {
.withServiceAccount(serviceAccount)
.withServiceAccountName(serviceAccount)
.addNewContainer()
- .withImage(" ").withImagePullPolicy("Always").withName(projectName).addNewPort().withContainerPort(8778).endPort()
+ .withImage(" ").withImagePullPolicy("Always").withName(projectName)
+ .addNewPort().withName("jolokia").withContainerPort(8778).endPort()
.addNewVolumeMount()
.withName("secret-volume")
.withMountPath("/deployments/config")
