ui: [FEATURE] Disable Peer Detail and Peer List Routes for HCP Deployments
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 39
Description
### Description
Use a configuration exposed by the Consul backend to disable the Peering UI for HCP managed clusters.
We may also wish to utilize the previously created configuration value (`HCPEnabled`) to indicate at a more general level whether a cluster is managed by HCP, however the specific killswitch config would be more appropriate and not require future changes.
This work has a blocking dependency on the backend implementing the config.
### Requirements
1. If the peering killswitch config is enabled, disable access to the peers listview and details routes
2. Optionally, if the `HCPEnabled` config is enabled, disable access to the peers listview and details routes
Contributor guide
Assessment
This issue has not been assessed yet.