containerBuilder = containerBuilder
.withName(serviceName)
.withImage(image)
.withPorts(new ContainerPortBuilder().withContainerPort(port).build())
.withVolumeMounts(volumes.stream().map(Pair::getLeft).collect(Collectors.toList()))
<BUG>.withEnv(envVars);
ReplicaSetBuilder replicaSetBuilder = new ReplicaSetBuilder();</BUG>
replicaSetBuilder = replicaSetBuilder
.withNewMetadata()
.withName(replicaSetName)

containerBuilder = containerBuilder
.withName(serviceName)
.withImage(image)
.withPorts(new ContainerPortBuilder().withContainerPort(port).build())
.withVolumeMounts(volumes.stream().map(Pair::getLeft).collect(Collectors.toList()))
.withEnv(envVars)
.withReadinessProbe(probeBuilder.build());
ReplicaSetBuilder replicaSetBuilder = new ReplicaSetBuilder();
replicaSetBuilder = replicaSetBuilder
.withNewMetadata()
.withName(replicaSetName)
