This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Container name should not be generated from maven group Id #1312
Labels
cat/bug
Bug which needs fixing
Description
When generating Kubernetes configurations, if username is omitted then maven group Id is inserted instead. Maven group id's often have periods, which are illegal characters in Kubernetes container names. Therefore, defaulting to an unmodified group ID seems like the wrong thing to do. Either remove the periods, or default to something else.
The erroneous function is extractContainerName in KubernetesResourceUtil. Decompiled, roughly:
Info
mvn -v
) : Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)The text was updated successfully, but these errors were encountered: