I'm using an openshift cluster to deploy my k8s operator. I deployed the operator manually not from the operator hub. I was able to deploy the operator successfully. But when I try to do a deployment through the operator it gives me the following error.
If I execute "kubectl logs command":
{"level":"info","ts":1585406191.404172,"logger":"cmd","msg":"Go Version: go1.13"}
{"level":"info","ts":1585406191.404281,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1585406191.4042957,"logger":"cmd","msg":"Version of operator-sdk: v0.7.0+git"}
{"level":"info","ts":1585406191.4049966,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1585406191.5270786,"logger":"leader","msg":"Found existing lock","LockOwner":"apim-operator-b6446674d-56zp2"}
{"level":"info","ts":1585406191.5332227,"logger":"leader","msg":"Not the leader. Waiting."}
{"level":"info","ts":1585406192.661973,"logger":"leader","msg":"Not the leader. Waiting."}
It looks like my pods never getting ready due to this lock, any solutions?