Skip to content

Commit

Permalink
Update nca/Parsers/IstioVirtualServiceYamlParser.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adi Sosnovich <82078442+adisos@users.noreply.github.com>
  • Loading branch information
tanyaveksler and adisos authored Dec 19, 2023
1 parent ee5abe8 commit af7748a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nca/Parsers/IstioVirtualServiceYamlParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit af7748a

Please sign in to comment.