Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#24 from vmware-tanzu/fix-secrets-f…
Browse files Browse the repository at this point in the history
…or-byomachine-controller

Fix rbac to secrets for byomachine controller
  • Loading branch information
jamiemonserrate committed Jun 24, 2021
2 parents 1598471 + 6283be1 commit 54aeee7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/byomachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type ByoMachineReconciler struct {
// +kubebuilder:rbac:groups=cluster.x-k8s.io,resources=clusters;machines,verbs=get;list;watch
// +kubebuilder:rbac:groups=cluster.x-k8s.io,resources=machines;machines/status,verbs=get;list;watch
// +kubebuilder:rbac:groups="",resources=events,verbs=get;list;watch;create;update;patch
// +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch

func (r *ByoMachineReconciler) Reconcile(ctx context.Context, req reconcile.Request) (ctrl.Result, error) {
_ = r.Log.WithValues("Byomachine", req.NamespacedName)
Expand Down

0 comments on commit 54aeee7

Please sign in to comment.