How expose external service ans delegate tls to sideecar or other istio mechanism

Hi,

I want to expose a service in my kubernetes cluster.
For instance:
http://minio.svc.cluster.local must redirect to https://myminio.mydomain.com

I user istio-proxy sidecar. Is there a solution to do this with istio ?

You can follow the docs here that explain how to do egress TLS origination.

To do a redirect (e.g. curl minio.svc.cluster.local ends up on myminio.mydomain.com) you can configure a VirtualService with the “minio.svc.cluster.local” host and do a redirect to your domain there.