christophd commented on code in PR #15017:
URL: https://github.com/apache/camel/pull/15017#discussion_r1711221404


##########
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:
   @davsclaus the downside of this is that the export for runtime `quarkus` 
would be different compared to the other runtimes `main` and `spring-boot`. the 
idea of this PR is to find a common ground for all runtimes so that all exports 
use pure jKube plugin functionalities. but yes this also means users cannot use 
the quarkus Kubernetes extension configuration settings OOTB after export 
@tdiesler I got that right?



-- 
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

Reply via email to