Add condition to service address definition
@@ -108,6 +108,8 @@ Service addresses are calculated in the following manner:
Service names can only consist of lowercase alphanumeric characters, and the character `"-"`.
All `"_"` characters are replaced with `"-"`. All other non-alphanumeric characters are removed.
+The `servicename` cannot start or end with a `"-"`. These characters are trimmed.
+
Service names are also restricted to 63 characters in length, so if a generated name exceeds 63 characters, it should be recalculated as:
```
@@ -118,6 +120,7 @@ servicename=<JOB_NAME>-<INSTANCE_GROUP_NAME>-<DEPLOYMENT_NAME>
The same check needs to apply to the entire address. If an entire address is longer than 253 characters, the `servicename` is trimmed until there's enough room for the MD5 hash. If it's not possible to include the hash (`KUBE_NAMESPACE` and `KUBE_SERVICE_DOMAIN` and the dots are 221 characters or more), an error is thrown.
+
### Input & Output
Rendering happens using the Operator's docker image.
