Skip to content

Check and doc the steps required to use the leader.Become and be able to run locally #3677

@camilamacedo86

Description

@camilamacedo86

The goal of this task is to identify the required steps for we are able to make the leader.Become from the operator-lib work when we run it locally as well. See in #3676 the steps used to check it running succefully in the cluster.

$ make run 
/Users/camilamacedo/go/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
/Users/camilamacedo/go/bin/controller-gen "crd:trivialVersions=true" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
go run ./main.go
2020-08-07T12:49:07.299+0100	INFO	leader	Trying to become the leader.
exit status 1
make: *** [Makefile:40: run] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    language/goIssue is related to a Go operator projectlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions