File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,14 @@ rules:
167167 - get
168168 - list
169169 - watch
170+ - apiGroups :
171+ - extension.projectsveltos.io
172+ resources :
173+ - yttsources
174+ verbs :
175+ - get
176+ - list
177+ - watch
170178- apiGroups :
171179 - infrastructure.cluster.x-k8s.io
172180 resources :
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ import (
4141 "github.com/projectsveltos/libsveltos/lib/utils"
4242)
4343
44+ //+kubebuilder:rbac:groups=extension.projectsveltos.io,resources=yttsources,verbs=get;list;watch
4445//+kubebuilder:rbac:groups=lib.projectsveltos.io,resources=debuggingconfigurations,verbs=get;list;watch
4546//+kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch
4647//+kubebuilder:rbac:groups=*,resources=*,verbs=get;list;watch;impersonate
Original file line number Diff line number Diff line change @@ -1567,6 +1567,14 @@ rules:
15671567 - get
15681568 - list
15691569 - watch
1570+ - apiGroups :
1571+ - extension.projectsveltos.io
1572+ resources :
1573+ - yttsources
1574+ verbs :
1575+ - get
1576+ - list
1577+ - watch
15701578- apiGroups :
15711579 - infrastructure.cluster.x-k8s.io
15721580 resources :
You can’t perform that action at this time.
0 commit comments