mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Update distro label on clusters (#3171)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
fff6d2e5f9
commit
9790b71f8c
@ -104,6 +104,7 @@ export class ClusterManager extends Singleton {
|
||||
this.updateEntityStatus(entity, cluster);
|
||||
|
||||
entity.metadata.labels = Object.assign({}, cluster.labels, entity.metadata.labels);
|
||||
entity.metadata.labels.distro = cluster.distribution;
|
||||
|
||||
if (cluster.preferences?.clusterName) {
|
||||
entity.metadata.name = cluster.preferences.clusterName;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user