hashicorp / hashicorp/consul

Label in Web-UI

Open
#17,065 0 comments 7 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

### Overview of the Issue

Nomad 1.5 added the possibility to add label in the header of the UI.
This helps for example to distinguish a "test"-cluster from a production-cluster.
For consistency reasons it would be good to add it also in consul.

### Reproduction Steps

Go to the UI of consul

### Describe the solution you'd like

Add an option in the configuration of consul to add a label in the header. It would make sense to use the same
options as in Nomad (see https://developer.hashicorp.com/nomad/docs/configuration/ui)

```
label {
text = "production"
background_color = "red"
text_color = "black"
}
```
### Consul Version
v1.15.2

### Screengrabs / Web Inspector logs
![image](https://user-images.githubusercontent.com/10844888/233419754-7267e6c2-9262-4414-babd-0c3cfc6f5c13.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.