File tree 3 files changed +12
-12
lines changed
deploy/charts/netris-operator/templates
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 9
9
- apiGroups :
10
10
- " "
11
11
resources :
12
- - node
12
+ - nodes
13
13
verbs :
14
14
- get
15
15
- list
16
16
- watch
17
17
- apiGroups :
18
18
- " "
19
19
resources :
20
- - pod
20
+ - pods
21
21
verbs :
22
22
- get
23
23
- list
24
24
- watch
25
25
- apiGroups :
26
26
- " "
27
27
resources :
28
- - service
28
+ - services
29
29
verbs :
30
30
- get
31
31
- list
32
32
- watch
33
33
- apiGroups :
34
34
- " "
35
35
resources :
36
- - service /status
36
+ - services /status
37
37
verbs :
38
38
- get
39
39
- patch
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ type L4LBReconciler struct {
40
40
41
41
// +kubebuilder:rbac:groups=k8s.netris.ai,resources=l4lbs,verbs=get;list;watch;create;update;patch;delete
42
42
// +kubebuilder:rbac:groups=k8s.netris.ai,resources=l4lbs/status,verbs=get;update;patch
43
- // +kubebuilder:rbac:groups=core,resources=service ,verbs=get;list;watch
44
- // +kubebuilder:rbac:groups=core,resources=service /status,verbs=get;update;patch
45
- // +kubebuilder:rbac:groups=core,resources=pod ,verbs=get;list;watch
46
- // +kubebuilder:rbac:groups=core,resources=node ,verbs=get;list;watch
43
+ // +kubebuilder:rbac:groups=core,resources=services ,verbs=get;list;watch
44
+ // +kubebuilder:rbac:groups=core,resources=services /status,verbs=get;update;patch
45
+ // +kubebuilder:rbac:groups=core,resources=pods ,verbs=get;list;watch
46
+ // +kubebuilder:rbac:groups=core,resources=nodes ,verbs=get;list;watch
47
47
48
48
func (r * L4LBReconciler ) Reconcile (req ctrl.Request ) (ctrl.Result , error ) {
49
49
_ = context .Background ()
Original file line number Diff line number Diff line change 8
8
- apiGroups :
9
9
- ' '
10
10
resources :
11
- - node
11
+ - nodes
12
12
verbs :
13
13
- get
14
14
- list
15
15
- watch
16
16
- apiGroups :
17
17
- ' '
18
18
resources :
19
- - pod
19
+ - pods
20
20
verbs :
21
21
- get
22
22
- list
23
23
- watch
24
24
- apiGroups :
25
25
- ' '
26
26
resources :
27
- - service
27
+ - services
28
28
verbs :
29
29
- get
30
30
- list
31
31
- watch
32
32
- apiGroups :
33
33
- ' '
34
34
resources :
35
- - service /status
35
+ - services /status
36
36
verbs :
37
37
- get
38
38
- patch
You can’t perform that action at this time.
0 commit comments