diff --git a/nca/Parsers/IstioVirtualServiceYamlParser.py b/nca/Parsers/IstioVirtualServiceYamlParser.py index 766d1702..675cfcf7 100644 --- a/nca/Parsers/IstioVirtualServiceYamlParser.py +++ b/nca/Parsers/IstioVirtualServiceYamlParser.py @@ -63,7 +63,9 @@ def parse_virtual_service(self, vs_resource, vs_file_name): if host_dfa: vs.add_host_dfa(host_dfa) - self.parse_vs_gateways(vs.namespace, vs_spec, vs, True) + # gateways field: A single VirtualService is used to configure connectivity of sidecars inside the mesh as well + # as for one or more gateways (with the matching hosts) + self.parse_vs_gateways(vs.namespace, vs_spec, vs, True) self.parse_vs_http_route(vs, vs_spec) self.parse_vs_tls_route(vs, vs_spec) self.parse_vs_tcp_route(vs, vs_spec)