Workload creation through UI is missing a label in service

I am fiddling with istio now and I am not able to use the workolad created through UI in Istio virtual service creation. In the meantime when I created the deployment and service through YAML everything works fine.

Steps to reproduce:

  1. Deploy workload through UI
  2. Check service discovery it is only creating type ‘workload’.