nicolaferraro opened a new issue #2158:
URL: https://github.com/apache/camel-k/issues/2158


   Also in the context of #2083, we should normalize the way we reference 
generic Kubernetes resources.
   
   I cannot find a standard for that. I see in the service-binding trait we're 
using a convention like:
   
   ```
   PostgreSQL.v1alpha1.postgres.org/name[/ns1]
   ```
   
   Which is not natural... A better way would be to use the Knative CLI 
convention using colon separators:
   
   ```
   postgres.org:v1alpha1:PostgreSQL[:ns1]:name
   ```
   
   Which also can simplify to:
   
   ```
   PostgreSQL[:ns1]:name # if the kind is known
   ```
   
   We can also allow both `:` and `/` as separators, to account for something 
like:
   
   ```
   postgres.org/v1alpha1:PostgreSQL:ns1/name
   ```
   
   Like the `kn` CLI, we can also use lowercase prefixes for special types, e.g.
   
   ```
   channel:ch1
   ksvc:myservice
   broker:default
   ```
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to