Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
IbraAoad committed May 24, 2024
1 parent 55fc648 commit 402b71c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/charms/observability_libs/v1/kubernetes_service_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def __init__(self, *args):
```
Creating a new k8s lb service instead of patching the one created by juju
Providing a service name is mandatory as it shouldn't be the same as default service, i.e., `app_name`.
Service name is optional. If not provided, it defaults to {app_name}-lb.
If provided and equal to app_name, it also defaults to {app_name}-lb to prevent conflicts with the Juju default service.
```python
from charms.observability_libs.v1.kubernetes_service_patch import KubernetesServicePatch
from lightkube.models.core_v1 import ServicePort
Expand Down

0 comments on commit 402b71c

Please sign in to comment.