You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document that resolver settings can be defined via consul env vars
The consul client is created via consul.NewClient(). This methods reads settings
from environment variables if they are not specified.
Document that the resolver can be configured via the consul environment
variables.
| scheme |`http\|https`|| Establish connection to consul via http or https. |
29
-
| tags |`<tag>,[,<tag>]...`|| Filter service by tags |
30
-
| health |`healthy\|fallbackToUnhealthy`| healthy |`healthy` resolves only to services with a passing health status.<br>`fallbackToUnhealthy` resolves to unhealthy ones if none exist with passing healthy status. |
31
-
| token |`string`|| Authenticate Consul API Request with the token. |
| scheme |`http\|https`| default from [github.com/hashicorp/consul/api](https://pkg.go.dev/github.com/hashicorp/consul/api)| Establish connection to consul via http or https. |
27
+
| tags |`<tag>,[,<tag>]...`|| Filter service by tags |
28
+
| health |`healthy\|fallbackToUnhealthy`| healthy |`healthy` resolves only to services with a passing health status.<br>`fallbackToUnhealthy` resolves to unhealthy ones if none exist with passing healthy status. |
29
+
| token |`string`| default from [github.com/hashicorp/consul/api](https://pkg.go.dev/github.com/hashicorp/consul/api)| Authenticate Consul API Request with the token. |
30
+
31
+
If a setting is not specified in the URI, including `<consul-server>`, the
0 commit comments