Skip to content

Commit

Permalink
stop watching authconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato committed Dec 4, 2023
1 parent 2acf31b commit f88bd64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions controllers/authpolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/handler"
gatewayapiv1 "sigs.k8s.io/gateway-api/apis/v1"

authorinoapi "github.com/kuadrant/authorino/api/v1beta2"
api "github.com/kuadrant/kuadrant-operator/api/v1beta2"
"github.com/kuadrant/kuadrant-operator/pkg/common"
"github.com/kuadrant/kuadrant-operator/pkg/reconcilers"
Expand Down Expand Up @@ -223,7 +222,6 @@ func (r *AuthPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error {

return ctrl.NewControllerManagedBy(mgr).
For(&api.AuthPolicy{}).
Owns(&authorinoapi.AuthConfig{}).
Watches(
&gatewayapiv1.HTTPRoute{},
handler.EnqueueRequestsFromMapFunc(httpRouteEventMapper.MapToAuthPolicy),
Expand Down

0 comments on commit f88bd64

Please sign in to comment.