You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2024/02/01 15:22:52 UTC

(camel-k) 01/02: fix(doc): Add warning on cron trait for native build

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 3d5829cd2df119aace4bcf59595823cf6988f915
Author: Gaelle Fournier <ga...@gmail.com>
AuthorDate: Thu Feb 1 11:02:07 2024 +0100

    fix(doc): Add warning on cron trait for native build
    
    Ref #5088
---
 pkg/apis/camel/v1/trait/cron.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkg/apis/camel/v1/trait/cron.go b/pkg/apis/camel/v1/trait/cron.go
index 33f095a87..55f2eb496 100644
--- a/pkg/apis/camel/v1/trait/cron.go
+++ b/pkg/apis/camel/v1/trait/cron.go
@@ -26,6 +26,8 @@ package trait
 //
 // Integrations that start from the following components are evaluated by the cron trait: `timer`, `cron`, `quartz`.
 //
+// WARNING: In case of native build-mode defined in xref:traits:quarkus.adoc[quarkus] trait, the component can't be customized.
+//
 // The rules for using a Kubernetes CronJob are the following:
 //
 //   - `timer`: when period is set in milliseconds with no remaining seconds, for example 120000. If there is any second left as in 121000 (120s and 1s) or the presence of any of these parameters (delay, repeatCount, time) then a CronJob  won't be created, but a standard deployment.