Change the update strategy of statefulset to OnDelete
Currently the update strategy for updates kill pods without following any order to update them. This could lead to an unwanted death of the primary and loss of data. We should change the update strategy to OnDelete
so the data loss can be prevented.
Edited by Matteo Melli