Skip to content

Commit

Permalink
externalize traefik container and config management (#269)
Browse files Browse the repository at this point in the history
* externalize traefik config management

* fixed all tests

* removed custom CRI branch

* fixed call args in utest

* fixed itest

* tox fixes

* some pr comments

* ipu departed fix

* removed foo.bndl

* rolled back status ctxmgr

* pr comments
  • Loading branch information
PietroPasotti authored Nov 28, 2023
1 parent 9c9654b commit 816a337
Show file tree
Hide file tree
Showing 23 changed files with 987 additions and 688 deletions.
3 changes: 2 additions & 1 deletion lib/charms/traefik_k8s/v1/ingress_per_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _on_ingress_revoked(self, event: IngressPerUnitRevokedForUnitEvent):

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 16
LIBPATCH = 17

log = logging.getLogger(__name__)

Expand Down Expand Up @@ -254,6 +254,7 @@ def __init__(self, charm: CharmBase, relation_name: str = DEFAULT_RELATION_NAME)
observe(rel_events.relation_created, self._handle_relation)
observe(rel_events.relation_joined, self._handle_relation)
observe(rel_events.relation_changed, self._handle_relation)
observe(rel_events.relation_departed, self._handle_relation)
observe(rel_events.relation_broken, self._handle_relation_broken)
observe(charm.on.leader_elected, self._handle_upgrade_or_leader) # type: ignore
observe(charm.on.upgrade_charm, self._handle_upgrade_or_leader) # type: ignore
Expand Down
Loading

0 comments on commit 816a337

Please sign in to comment.