Skip to content

Add option to hide datacenters from /catalog/datacenters endpoint#267

Closed
mougams wants to merge 1 commit into
criteo-forks:1.22.3-criteofrom
mougams:hidden_catalog_dc
Closed

Add option to hide datacenters from /catalog/datacenters endpoint#267
mougams wants to merge 1 commit into
criteo-forks:1.22.3-criteofrom
mougams:hidden_catalog_dc

Conversation

@mougams

@mougams mougams commented Jul 24, 2026

Copy link
Copy Markdown

In some cases, like when boostrapping a new dc, one could need to hide a specific datacenters from the /catalog/datacenters endpoint.

Add option to support this, from command line or config options

consul agent ... -hidden-datacenter dc2 -hidden-datacenter dc3

In some cases, like when boostrapping a new dc, one could need
to hide a specific datacenters from the /catalog/datacenters endpoint.

Add option to support this, from command line or config options

```
consul agent ... -hidden-datacenter dc2 -hidden-datacenter dc3
```
@mougams mougams closed this Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant