Fix documenation for ECS

This commit is contained in:
Michael 2020-07-28 10:44:05 +02:00 committed by GitHub
parent 207d0bec78
commit 3908ef611a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 5 deletions

View file

@ -79,9 +79,35 @@ providers:
# ... # ...
``` ```
Search for services in all clusters. Search for services in clusters list.
If set to true the configured clusters will be ignored and the clusters will be discovered.
If set to false the services will be discovered only in configured clusters. - If set to `true` the configured clusters will be ignored and the clusters will be discovered.
- If set to `false` the services will be discovered only in configured clusters.
### `clusters`
_Optional, Default=["default"]_
```toml tab="File (TOML)"
[providers.ecs]
cluster = ["default"]
# ...
```
```yaml tab="File (YAML)"
providers:
ecs:
clusters:
- default
# ...
```
```bash tab="CLI"
--providers.ecs.clusters=default
# ...
```
Search for services in clusters list.
### `exposedByDefault` ### `exposedByDefault`

View file

@ -20,9 +20,7 @@ import (
math "math" math "math"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
)
import (
context "context" context "context"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"