You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "igarashitm (via GitHub)" <gi...@apache.org> on 2023/10/03 19:46:42 UTC

[I] Pointer to an external schema/CRD [camel-k]

igarashitm opened a new issue, #4788:
URL: https://github.com/apache/camel-k/issues/4788

   ### Requirement
   
   Is there a possibility to put any pointer to the external schema/CRD from Camel K CRD?
   
   Cc: @lburgazzoli 
   
   ### Problem
   
   For example, while `/PipeSpec/metadata` is actually `Kubernetes meta/v1.ObjectMeta`, but the CRD just says it's `object`
   https://github.com/apache/camel-k/blob/main/config/crd/bases/camel.apache.org_pipes.yaml#L65-L66
   It would be helpful for tooling if it has some pointer to the `Kubernetes meta/v1.ObjectMeta` 
   
   Same for when it jumps to the Camel schema, the `template` in `Kamelet`
   https://github.com/apache/camel-k/blob/main/config/crd/bases/camel.apache.org_kamelets.yaml#L505
   actually refers to Camel `RouteTemplateDefinition`
   https://github.com/apache/camel/blob/main/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json#L4921-L4951
   
   
   ### Proposal
   
   _No response_
   
   ### Open questions
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pointer to an external schema/CRD [camel-k]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4788: Pointer to an external schema/CRD
URL: https://github.com/apache/camel-k/issues/4788


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pointer to an external schema/CRD [camel-k]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4788:
URL: https://github.com/apache/camel-k/issues/4788#issuecomment-1874713450

   This issue has been automatically marked as stale due to 90 days of inactivity.
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pointer to an external schema/CRD [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4788:
URL: https://github.com/apache/camel-k/issues/4788#issuecomment-1746846981

   For ObjectMeta, I am not sure this is something required by Kubernetes. Also, as it specify something external, maybe you can directly lookup for those resources.
   The templates are left outside on purpose. There was some attempt in the past, but the DSL from Camel is too big to fit into the CRD model and there are compatibility problems due to the fact that the DSL is not bound to Kubernetes CR versioning (which should not change that often) but to Camel versioning (which change often) [1].
   
   [1] https://github.com/apache/camel-k/pull/2831


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org