Gaëlle Fournier created CAMEL-20576: ---------------------------------------
Summary: camel-jbang-plugin-k run command snake-case parsing error Key: CAMEL-20576 URL: https://issues.apache.org/jira/browse/CAMEL-20576 Project: Camel Issue Type: Bug Components: camel-jbang Affects Versions: 4.4.1, 4.4.0 Environment: Jbang version : 0.114.0 Camel version: 4.4.0 Camel k: 2.3.0-SNAPSHOT Reporter: Gaëlle Fournier The run command ignore the snake-case trait properties. The jbang camel k command: {code:java} $ camel k run files/Java.java -t affinity.enabled=true -t "affinity.node-affinity-labels=kubernetes.io/hostname in(minikube)"{code} will result in the following integration CRD configuration: {code:java} traits: affinity: enabled: true podAffinity: false podAntiAffinity: false{code} In comparaison the kamel command: {code:java} $ kamel run files/Java.java -t affinity.enabled=true -t "affinity.node-affinity-labels=kubernetes.io/hostname in(minikube)" {code} will result in the following integration CRD configuration: {code:java} traits: affinity: enabled: true nodeAffinityLabels: - kubernetes.io/hostname in(minikube){code} *Note:* using the camel case in the jbang camel k command should be a workaround after fix https://issues.apache.org/jira/browse/CAMEL-20559: {code:java} $ camel k run files/Java.java -t affinity.enabled=true -t affinity.nodeAffinityLabels='kubernetes.io/hostname=minikube'{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)