SREP-1219: Added E2E Test - Check OwnerReference in CertificateRequest, Remove finalizers from CertificateRequest and ClusterDeployment
This PR introduces several updates as part of the following Jira tickets:
[SREP-1217] Test: Remove finalizer in ClusterDeployment (deleted when CD deleted): This test verifies that if the finalizer is removed from a ClusterDeployment and the ClusterDeployment is not being deleted, the finalizer is automatically re-added.
[SREP-1218)] Test: Remove finalizer from the CertificateRequest: This test verifies that if the finalizer is removed from a CertificateRequest and the CertificateRequest is not being deleted, the finalizer is automatically re-added.
[SREP-1219] Test: Check OwnerReference in CertificateRequest: This test ensure that the ClusterDeployment is set as the owner of the CertificateRequest in the certman-operator namespace. If the owner reference is missing, it is added to the CertificateRequest and verified.
Tested the code using osde2e image job