christophd commented on code in PR #15017: URL: https://github.com/apache/camel/pull/15017#discussion_r1711210742
########## dsl/camel-jbang/camel-jbang-plugin-kubernetes/src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/KubernetesExport.java: ########## @@ -260,51 +260,30 @@ public Integer export() throws Exception { if (container.getImagePullPolicy() != null) { var imagePullPolicy = container.getImagePullPolicy().getValue(); - if (runtime == RuntimeType.quarkus) { - imagePullPolicy = StringHelper.camelCaseToDash(imagePullPolicy); - } buildProperties.add("%s.kubernetes.image-pull-policy=%s".formatted(propPrefix, imagePullPolicy)); } // Quarkus Runtime specific if (runtime == RuntimeType.quarkus) { // Quarkus specific dependencies + // [TODO] migrate to JKube if (clusterType != null && clusterType.equals("openshift")) { addDependencies("io.quarkus:quarkus-openshift"); if (imageBuilder == null) { // use s2i image builder as a default on OpenShift imageBuilder = "s2i"; } - } else { - addDependencies("io.quarkus:quarkus-kubernetes"); Review Comment: @tdiesler it confuses me that the `io.quarkus:quarkus-openshift` is being added then when cluster-type is "openshift". how is that going to work when we remove all the quarkus settings? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org