Skip to content

Commit

Permalink
replace cr type with generic interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Sep 26, 2023
1 parent d170116 commit 0fa3541
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0fa3541

Please sign in to comment.