diff --git a/nca/Parsers/IstioVirtualServiceYamlParser.py b/nca/Parsers/IstioVirtualServiceYamlParser.py index 675cfcf7..b0aeb89e 100644 --- a/nca/Parsers/IstioVirtualServiceYamlParser.py +++ b/nca/Parsers/IstioVirtualServiceYamlParser.py @@ -212,7 +212,9 @@ def parse_http_match_request(self, route, result_route, vs): result_route.add_methods(methods) else: result_route.add_methods(MethodSet(True)) - self.parse_vs_gateways(vs.namespace, item, result_route) + # gateways field: Names of gateways where the rule should be applied. Gateway names in the top-level + # gateways field of the VirtualService (if any) are overridden. + self.parse_vs_gateways(vs.namespace, item, result_route) def parse_tls_match_attributes(self, route, vs): """