Skip to content

Commit 0915954

Browse files
author
Kimonas Sotirchos
committed
chore: rely on default for path type
1 parent b84fab2 commit 0915954

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/charm.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from charms.istio_ingress_k8s.v0.istio_ingress_route import (
1616
BackendRef,
1717
HTTPPathMatch,
18-
HTTPPathMatchType,
1918
HTTPRoute,
2019
HTTPRouteMatch,
2120
IstioIngressRouteConfig,
@@ -284,11 +283,7 @@ def _ambient_mesh_ingress(self):
284283
HTTPRoute(
285284
name="http-ingress",
286285
listener=http_listener,
287-
matches=[
288-
HTTPRouteMatch(
289-
path=HTTPPathMatch(type=HTTPPathMatchType.PathPrefix, value="/")
290-
)
291-
],
286+
matches=[HTTPRouteMatch(path=HTTPPathMatch(value="/"))],
292287
backends=[BackendRef(service=self.app.name, port=self._port)],
293288
)
294289
],

0 commit comments

Comments
 (0)