// ingressControllersWithSecret returns the ingresscontrollers that reference
// the given secret.
ingressControllersWithSecret returns the ingresscontrollers that reference
the given secret.
// ingressControllersWithSecret returns the ingresscontrollers that reference // the given secret .
func (r *reconciler) ingressControllersWithSecret(secretName string) ([]operatorv1.IngressController, error) {
	controllers := &operatorv1.IngressControllerList{}
	if err := r.cache.List(context.Background(), controllers, client.MatchingField("defaultCertificateName", secretName)); err != nil {
		return nil, err
	}
	return controllers.Items, nil
}
func ( r * reconciler ) ingressControllersWithSecret ( secretName string ) ( [ ] operatorv1 . IngressController , error ) { controllers := & operatorv1 . IngressControllerList { } if err := r . cache . List ( context . Background ( ) , controllers , client . MatchingField ( " " , secretName ) ) ; err != nil { return nil , err } return controllers . Items , nil }
ingressControllersWithSecret returns the ingresscontrollers that reference
the given secret.
ingressControllersWithSecret returns the ingresscontrollers that reference the given secret .