Switch operator from deployment to statefulset
Part of release work for the operator: https://gitlab.com/charts/components/gitlab-operator/issues/29
According to the kubebuilder docs, the operator manager that we are deploying is supposed to be a statefulset: https://book.kubebuilder.io/basics/what_is_the_controller_manager.html
Note that the Manager is run as a StatefulSet and not a Deployment. This is to ensure that only 1 instance of the Manager is run at a time (a Deployment may sometimes run multiple instances even with replicas set to 1).
Edited by DJ Mountney