Skip to content

Commit

Permalink
Grant manager to access clustergithubapps
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuzu committed Sep 17, 2020
1 parent 1425521 commit 5a7eae1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/installation_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ type InstallationReconciler struct {

// +kubebuilder:rbac:groups=ghapp.tsuzu.dev,resources=installations,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=ghapp.tsuzu.dev,resources=installations/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=ghapp.tsuzu.dev,resources=clustergithubapps,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=ghapp.tsuzu.dev,resources=clustergithubapps/status,verbs=get;update;patch

func (r *InstallationReconciler) Reconcile(req ctrl.Request) (res ctrl.Result, err error) {
ctx := context.Background()
Expand Down

0 comments on commit 5a7eae1

Please sign in to comment.