You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Matthias Bechtold (Jira)" <ji...@apache.org> on 2023/12/04 18:02:00 UTC

[jira] [Created] (CAMEL-20185) Kubernetes CronJob Component

Matthias Bechtold created CAMEL-20185:
-----------------------------------------

             Summary: Kubernetes CronJob Component
                 Key: CAMEL-20185
                 URL: https://issues.apache.org/jira/browse/CAMEL-20185
             Project: Camel
          Issue Type: New Feature
          Components: camel-kubernetes
            Reporter: Matthias Bechtold


We are building an end to end test with Camel and want to read the {{.jobTemplate.spec}} field from a k8s {{{}CronJob{}}}.
Since there is (apparently) no {{CronJob}} component like there isĀ ["kubernetes-job"|https://camel.apache.org/components/next/kubernetes-job-component.html], we ended up building it the hard way using fabric8's k8s client.

What we have done so far, could be greatly simplified by having a "kubernetes-cronjob" Camel component, with an operation "getCronJob", which would retrieve the {{CronJob}} manifest from k8s and put it into a message header or body.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)