canonical / charmed-kubeflow-chisme

Shared Utilities used across Charmed Kubeflow
Apache License 2.0
1 stars 4 forks source link

feat: use ops's new collect-status event for final status handling #76

Closed ca-scribner closed 6 months ago

ca-scribner commented 11 months ago

This uses the collect-status event, implemented in ops 2.5, to set the charm's status on exit of any events. This sits alongside the regular status pool - the status pool is still used internally in the charm, but the final status is set through the collect-status mechanism.

This is a prototype and may need more thought/testing, but after initial testing of config-changed and update-status events seems like it works great!