I know how to use Kuma or Istio as Service Mesh and inject one SideCar proxy into one existing SpringBoot Application or any other Application but can we inject one SpringBoot application as SideCar Proxy into another SpringBoot Application.
The context is, lets say SideCar Proxy SpringBoot application might be having basic things (i.e Authentication, Security Policy or any other type of policy etc) which might be required in main SpringBoot Service. And the same SideCar proxy application can be injected into any other application.
Question might sound little vague but I can provide more details on it if anything is not clear or confusing.
Thanks