Skip to content

Commit

Permalink
Delete kubebuilder markers (#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
alenkacz committed Oct 2, 2019
1 parent 106c0a3 commit f10e9d2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pkg/controller/instance/instance_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ func (r *Reconciler) SetupWithManager(
// +-------------------------------+
//
// Automatically generate RBAC rules to allow the Controller to read and write Deployments
// +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=kudo.dev,resources=instances,verbs=get;list;watch;create;update;patch;delete
func (r *Reconciler) Reconcile(request ctrl.Request) (ctrl.Result, error) {
// ---------- 1. Query the current state ----------

Expand Down
2 changes: 0 additions & 2 deletions pkg/controller/operator/operator_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ func (r *Reconciler) SetupWithManager(
// Reconcile reads that state of the cluster for an Operator object and makes changes based on the state read
// and what is in the Operator.Spec
// Automatically generate RBAC rules to allow the Controller to read and write Deployments
// +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=kudo.dev,resources=operators,verbs=get;list;watch;create;update;patch;delete
func (r *Reconciler) Reconcile(request ctrl.Request) (ctrl.Result, error) {
// Fetch the operator
operator := &kudov1alpha1.Operator{}
Expand Down
2 changes: 0 additions & 2 deletions pkg/controller/operatorversion/operatorversion_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ func (r *Reconciler) SetupWithManager(
// and what is in the OperatorVersion.Spec.
//
// Automatically generate RBAC rules to allow the Controller to read and write Deployments
// +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=kudo.dev,resources=operatorversions,verbs=get;list;watch;create;update;patch;delete
func (r *Reconciler) Reconcile(request ctrl.Request) (ctrl.Result, error) {
// Fetch the operator version
operatorVersion := &kudov1alpha1.OperatorVersion{}
Expand Down

0 comments on commit f10e9d2

Please sign in to comment.