Closed khos2ow closed 3 years ago
This PR enables leader election for in-cluster provider controller manager. This can be controlled by --leader-election CLI flag or LEADER_ELECTION=true environment variables. This can be achieved for deployment by applying the following:
--leader-election
LEADER_ELECTION=true
apiVersion: pkg.crossplane.io/v1alpha1 kind: ControllerConfig metadata: name: in-cluster-config spec: replicas: 2 env: - name: "LEADER_ELECTION" value: "true"
Non-blocker fix for https://github.com/crossplane/crossplane/issues/5
This PR enables leader election for in-cluster provider controller manager. This can be controlled by
--leader-election
CLI flag orLEADER_ELECTION=true
environment variables. This can be achieved for deployment by applying the following:Non-blocker fix for https://github.com/crossplane/crossplane/issues/5