Skip to content

Commit

Permalink
Allow GW controller to watch namespaces
Browse files Browse the repository at this point in the history
I don't think that we're explicitly watching namespaces but the
controller library likes to watch.
  • Loading branch information
caboteria committed Jun 24, 2024
1 parent 0f35e54 commit ecbb4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/gateway/gateway_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (r *GatewayReconciler) SetupWithManager(mgr ctrl.Manager) error {
Complete(r)
}

//+kubebuilder:rbac:groups="",resources=namespaces,verbs=get;list
//+kubebuilder:rbac:groups="",resources=namespaces,verbs=get;list;watch
//+kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch
//+kubebuilder:rbac:groups=gateway.networking.k8s.io,resources=gateways,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=gateway.networking.k8s.io,resources=gateways/status,verbs=get;update;patch
Expand Down

0 comments on commit ecbb4cc

Please sign in to comment.