samba-operator
samba-operator copied to clipboard
Switch from configmap for leader election to lease
Since we already don't support older k8s versions it probably makes more sense to use the new dedicated resource type.
Looks like controller-runtime sets this as the default in version v0.12.0: https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.12.0
I'm pretty sure we could override this on the version we currently use. But this could be one reason to consider updating this dependency.