Gather all CR info logic into function
Gather all CR info logic into function

Signed-off-by: Haoxiang Zhou <015109cddeb5314366da6bad9f7459d940eadab1@jetstack.io>

jetstack/cert-manager,cert-manager/cert-manager,jetstack/cert-manager,jetstack-experimental/cert-manager,jetstack-experimental/cert-manager,cert-manager/cert-manager,jetstack/cert-manager,cert-manager/cert-manager,jetstack-experimental/cert-manager