Integration point for a usecase

Hi guys, I have a usecase where I am wanting to take info in a Gateway configured in Istio and extract the tls secret / hosts it has. The usecase is to configure tls termination for a customer at the edge but also at the istio ingress gw.

I concidered using the k8s api for this but apparantly people say in github tickets it’s better to use the MCP?

MCP ref here: https://github.com/istio/api/pull/764