Closed khos2ow closed 3 years ago
This PR enables leader election for Alibaba 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: alibaba-config spec: replicas: 2 env: - name: "LEADER_ELECTION" value: "true"
Partial fix for https://github.com/crossplane/crossplane/issues/5
I have:
make reviewable test
TBA
Description of your changes
This PR enables leader election for Alibaba 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:Partial fix for https://github.com/crossplane/crossplane/issues/5
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
TBA