-
Bug
-
Resolution: Done
-
Blocker
-
camel-k-1.6-GA
-
None
-
False
-
False
-
%
-
Todo
-
Just tested in CK3:
$ ./kamel version panic: Error parsing AdditionalLabels com.company=Red_Hat,rht.prod_name=Red_Hat_Integration,rht.prod_ver=,rht.comp=Camel-K,rht.comp_ver=\1.6.0,rht.subcomp=token_integration_name,rht.subcomp_t=application, Error: invalid label value: "\\1.6.0": at key: "rht.comp_ver": 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])?') goroutine 1 [running]: github.com/apache/camel-k/pkg/util/label.checkAdditionalLabels() github.com/apache/camel-k/pkg/util/label/label.go:50 +0x14f github.com/apache/camel-k/pkg/util/label.init.0() github.com/apache/camel-k/pkg/util/label/label.go:41 +0x25
It could be caused by some char replacement during productization steps.