rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
442 stars 241 forks source link

Fleet Cluster Table: Show Cluster Labels #11241

Open manno opened 2 weeks ago

manno commented 2 weeks ago

As a follow up to https://github.com/rancher/dashboard/issues/10542, it would be useful to show the cluster's label. Clusters are often part of cluster groups and those match by label.

cluster labels

E.g. like this:

image (2)

richard-cox commented 2 weeks ago

For whoever picks this up, we normally automatically filter out system based labels via /cattle\.io\// (which doesn't catch provider.cattle.io). This should be fine for this use case

https://github.com/rancher/dashboard/blob/master/shell/plugins/steve/hybrid-class.js#L24-L30