You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/05/05 17:33:39 UTC

[GitHub] [camel-kamelets] astefanutti opened a new issue #238: Invalid label values

astefanutti opened a new issue #238:
URL: https://github.com/apache/camel-kamelets/issues/238


   I'm seeing the following error in Camel K:
   
   ```
   could not create or replace camel.apache.org/v1alpha1, Kind=Kamelet aws-ddb-streams-source: Kamelet.camel.apache.org \"aws-ddb-streams-source\" is invalid: metadata.labels: Invalid value: \"AWS DynamoDB Streams\": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')
   ```
   
   Labels cannot contain spaces, as specified in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set.
   
   Unless there is a strong need to query Kamelets by group, `camel.apache.org/kamelet.group: "AWS DynamoDB Streams"` may be declared as an annotation.


-- 
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:
users@infra.apache.org



[GitHub] [camel-kamelets] astefanutti commented on issue #238: Invalid label values

Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #238:
URL: https://github.com/apache/camel-kamelets/issues/238#issuecomment-832880232


   No worries. Thanks @oscerd.


-- 
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:
users@infra.apache.org



[GitHub] [camel-kamelets] oscerd closed issue #238: Invalid label values

Posted by GitBox <gi...@apache.org>.
oscerd closed issue #238:
URL: https://github.com/apache/camel-kamelets/issues/238


   


-- 
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:
users@infra.apache.org



[GitHub] [camel-kamelets] oscerd commented on issue #238: Invalid label values

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #238:
URL: https://github.com/apache/camel-kamelets/issues/238#issuecomment-832879470


   I put them as label and not as annotations. My bad. Will fix later or tomorrow. Sorry.


-- 
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:
users@infra.apache.org