File tree Expand file tree Collapse file tree 3 files changed +75
-0
lines changed
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata Expand file tree Collapse file tree 3 files changed +75
-0
lines changed Original file line number Diff line number Diff line change @@ -1199,6 +1199,13 @@ items:
1199
1199
- create
1200
1200
- patch
1201
1201
- update
1202
+ - apiGroups :
1203
+ - networking.k8s.io
1204
+ resources :
1205
+ - servicecidrs
1206
+ verbs :
1207
+ - list
1208
+ - watch
1202
1209
- apiGroups :
1203
1210
- discovery.k8s.io
1204
1211
resources :
Original file line number Diff line number Diff line change @@ -476,6 +476,23 @@ items:
476
476
- kind : ServiceAccount
477
477
name : service-account-controller
478
478
namespace : kube-system
479
+ - apiVersion : rbac.authorization.k8s.io/v1
480
+ kind : ClusterRoleBinding
481
+ metadata :
482
+ annotations :
483
+ rbac.authorization.kubernetes.io/autoupdate : " true"
484
+ creationTimestamp : null
485
+ labels :
486
+ kubernetes.io/bootstrapping : rbac-defaults
487
+ name : system:controller:service-cidrs-controller
488
+ roleRef :
489
+ apiGroup : rbac.authorization.k8s.io
490
+ kind : ClusterRole
491
+ name : system:controller:service-cidrs-controller
492
+ subjects :
493
+ - kind : ServiceAccount
494
+ name : service-cidrs-controller
495
+ namespace : kube-system
479
496
- apiVersion : rbac.authorization.k8s.io/v1
480
497
kind : ClusterRoleBinding
481
498
metadata :
Original file line number Diff line number Diff line change @@ -1328,6 +1328,57 @@ items:
1328
1328
- create
1329
1329
- patch
1330
1330
- update
1331
+ - apiVersion : rbac.authorization.k8s.io/v1
1332
+ kind : ClusterRole
1333
+ metadata :
1334
+ annotations :
1335
+ rbac.authorization.kubernetes.io/autoupdate : " true"
1336
+ creationTimestamp : null
1337
+ labels :
1338
+ kubernetes.io/bootstrapping : rbac-defaults
1339
+ name : system:controller:service-cidrs-controller
1340
+ rules :
1341
+ - apiGroups :
1342
+ - networking.k8s.io
1343
+ resources :
1344
+ - servicecidrs
1345
+ verbs :
1346
+ - get
1347
+ - list
1348
+ - patch
1349
+ - update
1350
+ - watch
1351
+ - apiGroups :
1352
+ - networking.k8s.io
1353
+ resources :
1354
+ - servicecidrs/finalizers
1355
+ verbs :
1356
+ - patch
1357
+ - update
1358
+ - apiGroups :
1359
+ - networking.k8s.io
1360
+ resources :
1361
+ - servicecidrs/status
1362
+ verbs :
1363
+ - patch
1364
+ - update
1365
+ - apiGroups :
1366
+ - networking.k8s.io
1367
+ resources :
1368
+ - ipaddresses
1369
+ verbs :
1370
+ - get
1371
+ - list
1372
+ - watch
1373
+ - apiGroups :
1374
+ - " "
1375
+ - events.k8s.io
1376
+ resources :
1377
+ - events
1378
+ verbs :
1379
+ - create
1380
+ - patch
1381
+ - update
1331
1382
- apiVersion : rbac.authorization.k8s.io/v1
1332
1383
kind : ClusterRole
1333
1384
metadata :
You can’t perform that action at this time.
0 commit comments