adamant-kite-43734
09/24/2025, 3:42 PMstocky-account-63046
09/25/2025, 8:53 AMfindLabelSelector which takes into account that change in api, and will also handle if server-side pagination is enabled or disabledbusy-ability-54059
09/25/2025, 9:18 AMconst response = await this.$store.dispatch('cluster/findLabelSelector', {
type: SERVICE,
matching: { labelSelector: { matchLabels: { app: 'longhorn-ui' } } },
opt: { transient: true }
});
return this.$dispatch('findLabelSelector', {
type: POD,
matching: {
namespace: this.metadata.namespace,
labelSelector: { matchExpressions: this.podMatchExpression },
},
});
or
return await this.$dispatch('findLabelSelector', {
type: POD,
matching: {
namespace: this.metadata.namespace,
labelSelector: { matchExpressions: parse(this.podRelationship?.selector) },
}
});cuddly-van-73431
09/25/2025, 4:01 PM