diff --git a/manageiq-operator/api/v1alpha1/helpers/miq-components/utils/util.go b/manageiq-operator/api/v1alpha1/helpers/miq-components/utils/util.go index 20ccdd966..8472974f8 100644 --- a/manageiq-operator/api/v1alpha1/helpers/miq-components/utils/util.go +++ b/manageiq-operator/api/v1alpha1/helpers/miq-components/utils/util.go @@ -93,7 +93,7 @@ func addAnnotations(annotations map[string]string, meta *metav1.ObjectMeta) { } } -func InternalCertificatesSecret(cr *miqv1alpha1.ManageIQ, client client.Client) *corev1.Secret { +func InternalCertificatesSecret(cr interface{}, client client.Client) *corev1.Secret { name := cr.Spec.InternalCertificatesSecret secretKey := types.NamespacedName{Namespace: cr.Namespace, Name: name}