-
Bug
-
Resolution: Incomplete
-
Minor
-
None
As per the kubernetes service spec, service name should be less than 64 characters and restricted to certain characters.
In openshift.io we are facing an issue where Jenkins job gets fail if the service name is invalid. In this case, service spec is generated on the go and maven projects artifacts id is used as the service name. We have very less scope for validation on the gate.
As part of the fix, we want to patch service name through pipeline step if it has invalid characters. This patching could be enabled or disabled by ENV var(by default its disabled).
Is this solution acceptable?