Skip to content

Commit

Permalink
Add rbac to pvs code than role.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kushal Harish Naidu <[email protected]>
  • Loading branch information
kushnaidu committed May 22, 2024
1 parent 4052964 commit 25cf608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 0 additions & 12 deletions controllers/packagevariantsets/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,3 @@ rules:
- get
- patch
- update
- apiGroups:
- porch.kpt.dev
resources:
- packagerevisions
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ const (
//+kubebuilder:rbac:groups=config.porch.kpt.dev,resources=packagevariantsets/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=config.porch.kpt.dev,resources=packagevariantsets/finalizers,verbs=update
//+kubebuilder:rbac:groups=config.porch.kpt.dev,resources=packagevariants,verbs=create;delete;get;list;patch;update;watch
//+kubebuilder:rbac:groups=porch.kpt.dev,resources=packagerevisions,verbs=create;delete;get;list;patch;update;watch
//+kubebuilder:rbac:groups=porch.kpt.dev,resources=packagerevisionresources,verbs=create;delete;get;list;patch;update;watch
//+kubebuilder:rbac:groups=*,resources=*,verbs=list

// Reconcile implements the main kubernetes reconciliation loop.
Expand Down

0 comments on commit 25cf608

Please sign in to comment.