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 fa752af commit ee5abe8
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 @@ -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)
Expand Down

0 comments on commit ee5abe8

Please sign in to comment.