Adds an optional lightkube_client argument to the KubernetesResourceHandler. This is added to make for easier unit testing in charms. Without this, it can be challenging to mock the lightkube_client for KRHs that are instantiated in a charm's init. Using this dependency injection approach makes that easier.
Adds an optional lightkube_client argument to the KubernetesResourceHandler. This is added to make for easier unit testing in charms. Without this, it can be challenging to mock the lightkube_client for KRHs that are instantiated in a charm's init. Using this dependency injection approach makes that easier.