canonical / mysql-router-operator

Mysql router operator charm
https://charmhub.io/mysql-router?channel=dpe/edge
Apache License 2.0
3 stars 3 forks source link

Fix TLS configuration immediately deleted after enabling #150

Closed carlcsaposs-canonical closed 3 months ago

carlcsaposs-canonical commented 3 months ago

Issue

https://warthogs.atlassian.net/browse/DPE-4545 Router is disabled after TLS is enabled, causing the TLS configuration files to be deleted

Solution

Move disabling of router before enabling/disabling TLS

carlcsaposs-canonical commented 3 months ago

tested PR using steps to reproduce from https://warthogs.atlassian.net/browse/DPE-4545, unable to reproduce with this fix