Claudio Miranda created CAMEL-22753:
---------------------------------------
Summary: camel-jbang-kubernetes: remove the podman build strategy
Key: CAMEL-22753
URL: https://issues.apache.org/jira/browse/CAMEL-22753
Project: Camel
Issue Type: Bug
Components: camel-jbang
Affects Versions: 4.16.0
Reporter: Claudio Miranda
Fix For: 4.17.0
Remove the podman build strategy from parameter "--image-builder" of the
Kubernetes run command, since there is [no support for
podman|https://github.com/eclipse-jkube/jkube/blob/v1.18.2/jkube-kit/config/image/src/main/java/org/eclipse/jkube/kit/config/image/build/JKubeBuildStrategy.java]
and the [jkube maven plugin mentions a docker
emulation|https://eclipse.dev/jkube/docs/kubernetes-maven-plugin/#_how_do_i_build_the_image_with_podman_instead_of_docker].
When trying to run with "--image-builder=podman --disable-auto", it sets the
property "-Djkube.podman.push=true" that doesn't exist in jkube maven plugin.
{code}
[ERROR] Failed to execute goal
org.eclipse.jkube:kubernetes-maven-plugin:1.18.1:build (default) on project
http-log: Unable to parse configuration of mojo
org.eclipse.jkube:kubernetes-maven-plugin:1.18.1:build: Cannot convert 'podman'
to Enum: No enum constant
org.eclipse.jkube.kit.config.image.build.JKubeBuildStrategy.podman -> [Help 1]
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)