Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make TLS certs reload more robust (#394)
## Issue In cases where reloading TLS certs via API fails, Opensearch should be restarted to pick up the new certs. This could happen e.g. after a network cut, if the API is not available and new TLS certs have been requested because of a new IP address. This can be seen [in the current failures](https://github.com/canonical/opensearch-operator/actions/runs/10361988050/job/28683584556#step:27:5111) of the integration test `test_ha_networking.py`. ## Solution If an error occurs when reloading the certs, restart Opensearch to pick up the new certificates.
- Loading branch information