I am new to the world of sidecar and istio. Have been reading about this for around a week. But still can't find an perfect answer.
First of all, is it possible to inject a custom sidecar using istio. Functionality that i want to achieve is, in request header i will receive 2 tokens(JWT). One for issuer (nonce), and other for sender (pop). I need to verify whether both these tokens are correct and if correct, i can allow them access to my microservice or else reject straight away.
So in order to achieve this functionality, i have created a sidecar, and now i want to deploy it using istio. But i can't find a way, to do it.
What i am able to achieve is the automatic sidecar injection that happens as soon as i install my containers. But now where i am struct is, i want custom sidecar to be injected using istio.
Let me know if anyone can give me a direction in what i am trying to achieve. Thank you.