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


##########
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:
   Hmm we should surely allow users to use the _quarkus standard_ for running 
on k8s. And would that not be that you should use their quarkus-kubernetes 
extension? So you can do all their configurations as well according to their 
guides.
   https://quarkus.io/guides/deploying-to-kubernetes



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