canonical / mysql-k8s-operator

A Charmed Operator for running MySQL on Kubernetes
https://charmhub.io/mysql-k8s
Apache License 2.0
8 stars 15 forks source link

DPE-4768 Skip config change when no pebble connection #445

Closed paulomach closed 1 week ago

paulomach commented 1 week ago

Issue

A config-change triggered before pebble-ready will error out due container being unavailable.

Solution

Skip if no container is available. It's safe to do it, since workload configuration will take place on pebble-ready also.