diff --git a/src/charm.py b/src/charm.py index c8a479f9..19fb58d5 100755 --- a/src/charm.py +++ b/src/charm.py @@ -90,7 +90,7 @@ def __init__(self, *args): self.service_patch = KubernetesServicePatch( self, - [ServicePort(self._port, f"{self.app.name}")], + [ServicePort(self._port, name=f"{self.app.name}")], ) self.resources_patch = KubernetesComputeResourcesPatch(