Update service.check.task definition to match code

Nomad errors out when attempting to specify a task for a service that uses consul connect but does not have script or gRPC checks. See 304d0cf595/nomad/structs/structs.go (L6643) for details.
This commit is contained in:
Jose Diaz-Gonzalez
2022-05-19 20:54:49 -04:00
committed by GitHub
parent 304d0cf595
commit edf7b89408

View File

@@ -171,9 +171,8 @@ Connect][connect] integration.
- `host` - Use the host IP and port.
- `task` `(string: "")` - Specifies the name of the Nomad task associated with
this service definition. Only available on group services. Must be set if this
service definition represents a Consul Connect-native service and there is more
than one task in the task group.
this service definition. Only available on group services. May only be set for
script or gRPC checks.
- `meta` <code>([Meta][]: nil)</code> - Specifies a key-value map that annotates
the Consul service with user-defined metadata. Only available where