Skip to content

Commit

Permalink
fix: suffix the IngressRoute with the service name to prevent conflic…
Browse files Browse the repository at this point in the history
…ts (#190)
  • Loading branch information
ptab authored Feb 11, 2025
2 parents 50be2da + ad50127 commit e2efc07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mpyl/steps/deploy/k8s/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ def to_ingress(self) -> Optional[V1AlphaIngressRoute]:
return None

return V1AlphaIngressRoute.from_spec(
metadata=self._to_object_meta(name="ingress-routes"),
metadata=self._to_object_meta(name=f"ingress-routes-{self.release_name}"),
spec=ingress_route_spec,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
maintainer: MPyL
version: pr-1234
revision: 2ad3293a7675d08bc037ef0846ef55897f38ec8f
name: ingress-routes
name: ingress-routes-dockertest
spec:
entryPoints:
- web
Expand Down

0 comments on commit e2efc07

Please sign in to comment.