Skip to content

Commit

Permalink
Document tls_skip_verify
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Apr 19, 2017
1 parent 4cf34ed commit a5dcf6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/source/docs/http/json-jobs.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ The `Task` object supports the following keys:
* `Timeout`: This indicates how long Consul will wait for a health
check query to succeed.

* `Path`:The path of the http endpoint which Consul will query to query
* `Path`: The path of the http endpoint which Consul will query to query
the health of a service if the type of the check is `http`. Nomad
will add the IP of the service and the port, users are only required
to add the relative URL of the health check endpoint.
Expand All @@ -437,6 +437,9 @@ The `Task` object supports the following keys:
* `Args`: Additional arguments to the `command` for script based health
checks.

* `TLSSkipVerify`: If true, Consul will not attempt to verify the
certificate when performing HTTPS checks. Requires Consul >= 0.7.2.

* `Templates` - Specifies the set of [`Template`](#template) objects to render for the task.
Templates can be used to inject both static and dynamic configuration with
data populated from environment variables, Consul and Vault.
Expand Down
3 changes: 3 additions & 0 deletions website/source/docs/job-specification/service.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ does not automatically enable service discovery.
- `type` `(string: <required>)` - This indicates the check types supported by
Nomad. Valid options are `script`, `http`, and `tcp`.

- `tls_skip_verify` `(bool: false)` - Skip verifying TLS certificates for HTTPS
checks. Requires Consul >= 0.7.2.


## `service` Examples

Expand Down
2 changes: 2 additions & 0 deletions website/source/docs/service-discovery/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ To configure a job to register with service discovery, please see the

## Assumptions

- Consul 0.7.2 or later is needed for `tls_skip_verify` in HTTP checks.

- Consul 0.6.4 or later is needed for using the Script checks.

- Consul 0.6.0 or later is needed for using the TCP checks.
Expand Down

0 comments on commit a5dcf6b

Please sign in to comment.