This PR modifies the list command to optimize performance and reduce dependency on Kubernetes RBAC privileges. Instead of directly watching Kubernetes workload resources, the client now subscribes to the Traffic Manager's WorkloadEventsWatcher to track interceptable workloads. This change offers two key benefits:
Reduced RBAC Requirements: The client no longer needs RBAC permissions to read and watch Kubernetes resources.
Improved Performance: By significantly reducing the number of API requests sent to the Traffic Manager, overall performance is enhanced.
This PR modifies the list command to optimize performance and reduce dependency on Kubernetes RBAC privileges. Instead of directly watching Kubernetes workload resources, the client now subscribes to the Traffic Manager's WorkloadEventsWatcher to track interceptable workloads. This change offers two key benefits:
Closes #3714