From 5dbff1c17dc1ba1f4db32f4aea17980b57c6f469 Mon Sep 17 00:00:00 2001 From: samirtahir91 <30797145+samirtahir91@users.noreply.github.com> Date: Sun, 31 Mar 2024 12:16:35 +0100 Subject: [PATCH] feat: Add rbac kubebuilder comment for pods (#17) --- internal/controller/githubapp_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/controller/githubapp_controller.go b/internal/controller/githubapp_controller.go index 8cbf273..fe95bb0 100644 --- a/internal/controller/githubapp_controller.go +++ b/internal/controller/githubapp_controller.go @@ -58,6 +58,7 @@ var ( //+kubebuilder:rbac:groups=githubapp.samir.io,resources=githubapps/status,verbs=get;update;patch //+kubebuilder:rbac:groups=githubapp.samir.io,resources=githubapps/finalizers,verbs=update //+kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;update;create;delete;watch;patch +//+kubebuilder:rbac:groups="",resources=pods,verbs=get;list;update;create;delete;watch;patch // Reconcile function func (r *GithubAppReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {