Which resource configuration is necessary to allow a service to communicate with a database outside the mesh using TLS?
ServiceEntry registers the external database host in the mesh registry, while DestinationRule defines the TLS origination policy for that host. Together they satisfy the stem's constraint: enabling mesh egress to an external database over TLS.
Why this answer
A ServiceEntry is needed to register the database host, and a DestinationRule is needed to define TLS settings.