Hi Christoph,

It is possible to define a different image by setting your expected value to 
the key KanikoExecutorImage of the map Spec.Build.PublishStrategyOptions 
directly in the integration platform see 
https://camel.apache.org/camel-k/1.11.x/apis/camel-k.html#_camel_apache_org_v1_IntegrationPlatformBuildSpec

A publish strategy option can also be set using the install command thanks to 
the flag --build-publish-strategy-option like in the next example:

kamel install --skip-operator-setup -n operator-test 
--build-publish-strategy-option 
KanikoExecutorImage=gcr.io/kaniko-project/executor:v1.9.0 --force

This will set the publish strategy option KanikoExecutorImage to 
gcr.io/kaniko-project/executor:v1.9.0

I hope it helps,
Regards,
Nicolas
[https://camel.apache.org/_/img/logo-d-f21b25ba38.svg]<https://camel.apache.org/camel-k/1.11.x/apis/camel-k.html#_camel_apache_org_v1_IntegrationPlatformBuildSpec>
Camel K 
API<https://camel.apache.org/camel-k/1.11.x/apis/camel-k.html#_camel_apache_org_v1_IntegrationPlatformBuildSpec>
Camel is an open source integration framework that empowers you to quickly and 
easily integrate various systems consuming or producing data.
camel.apache.org

________________________________
From: Christoph Weiss <christoph.we...@de.ibm.com>
Sent: Tuesday, February 21, 2023 15:45
To: users@camel.apache.org <users@camel.apache.org>
Subject: Camel-K - how to change version for Kaniko Builder

Dear User Group,

Short question:
We are running Camel-K 1.11 and want to use Kaniko as Builder.
Taking a look at the source code I see the Kaniko build pod with version 0.17.1 
is used.

Is there anyway to set (via a central config) another version?
E.g. via the IntegrationPlatform Custom Resource? (haven’t found any example)


Looking forward to a short reply

Thanks
Christoph



As a recipient of an email from the Talend Group, your personal data will be 
processed by our systems. Please see our Privacy Notice 
<https://www.talend.com/privacy-policy/> for more information about our 
collection and use of your personal information, our security practices, and 
your data protection rights, including any rights you may have to object to 
automated-decision making or profiling we use to analyze support or marketing 
related communications. To manage or discontinue promotional communications, 
use the communication preferences 
portal<https://info.talend.com/emailpreferencesen.html>. To exercise your data 
protection rights, use the privacy request 
form<https://talend.my.onetrust.com/webform/ef906c5a-de41-4ea0-ba73-96c079cdd15a/b191c71d-f3cb-4a42-9815-0c3ca021704cl>.
 Contact us here <https://www.talend.com/contact/> or by mail to either of our 
co-headquarters: Talend, Inc.: 400 South El Camino Real, Ste 1400, San Mateo, 
CA 94402; Talend SAS: 5/7 rue Salomon De Rothschild, 92150 Suresnes, France

Reply via email to