Skip to content

Commit

Permalink
Target named port
Browse files Browse the repository at this point in the history
We can't use the named port because we have named the ports on the
Service and not on the Pod
  • Loading branch information
nsklikas committed Apr 25, 2023
1 parent 47ea9cb commit 70544be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ def _apply_network_policies(self, event: HookEvent) -> None:
try:
self.network_policy_handler.apply_ingress_policies(
[
("public", [self.public_ingress.relation]),
("admin", [self.admin_ingress.relation]),
(KRATOS_PUBLIC_PORT, [self.public_ingress.relation]),
(KRATOS_ADMIN_PORT, [self.admin_ingress.relation]),
(38812, []),
(38813, []),
]
Expand Down

0 comments on commit 70544be

Please sign in to comment.