https://rancher.com/ logo
a

acoustic-sunset-13848

09/08/2022, 7:15 PM
On the Rancher Web UI. under “More Resources” there are groupings, including the groupings of CRDs. CRDs that I had myself to the cluster are put under their “group” which is domain name based, i.e.,
<http://company.com|company.com>
. Is there a way to provide a label to use instead the group name, so it fits better with the rest of the groupings?
f

full-painter-23916

09/08/2022, 7:21 PM
I don't work on/for rancher anymore but no, the list is baked into the UI. https://github.com/rancher/dashboard/blob/master/shell/config/product/explorer.js#L105
c

creamy-pencil-82913

09/08/2022, 7:23 PM
You could always open a PR 😉
f

full-painter-23916

09/08/2022, 7:33 PM
To read a display group out of a label on the CRD or something, maybe; but if it were still up to me I wouldn't merge a pr just adding a new
mapGroup('<http://random-company.com|random-company.com>', 'friendly name')
unless it's a common public tool
c

creamy-pencil-82913

09/08/2022, 7:40 PM
yeah that’s what I was thinking; it’d either have to be a common integration or a larger change to make it configurable. With the plugin stuff that’s coming I wouldn’t be surprised if someone’s working on that already though.
a

acoustic-sunset-13848

09/08/2022, 7:49 PM
Looking at the
explorer.js
file, my mind was thinking something similar to the
NavLink
where there is a CRD to define all the mappings.