Update documentation about validation logic for service names.

This commit is contained in:
Preetha Appan
2017-11-15 15:42:03 -06:00
parent 05d52b621c
commit f630ae32ff

View File

@@ -28,6 +28,10 @@ and supports `go-getter` syntax.
On successful validation, exit code 0 will be returned, otherwise an exit code
of 1 indicates an error.
Service names are validated according to [RFC-1123](https://tools.ietf.org/html/rfc1123).
Any environment variables in the name are ignored, because some environment variables can only
be resolved in the node the job is run on.
## Examples
Validate a job with invalid syntax: