Skip to content

Commit 287bf89

Browse files
committed
UPSTREAM: <carry>: Update test fixtures
1 parent 029f5a2 commit 287bf89

File tree

2 files changed

+42
-26
lines changed

2 files changed

+42
-26
lines changed

Diff for: plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles-featuregates.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ items:
134134
- ""
135135
resources:
136136
- configmaps
137+
- endpoints
137138
- events
138139
- persistentvolumeclaims
139140
- replicationcontrollers
@@ -1348,6 +1349,21 @@ items:
13481349
verbs:
13491350
- list
13501351
- watch
1352+
- apiVersion: rbac.authorization.k8s.io/v1
1353+
kind: ClusterRole
1354+
metadata:
1355+
annotations:
1356+
rbac.authorization.kubernetes.io/autoupdate: "true"
1357+
creationTimestamp: null
1358+
labels:
1359+
kubernetes.io/bootstrapping: rbac-defaults
1360+
name: system:openshift:public-info-viewer
1361+
rules:
1362+
- nonResourceURLs:
1363+
- /.well-known
1364+
- /.well-known/*
1365+
verbs:
1366+
- get
13511367
- apiVersion: rbac.authorization.k8s.io/v1
13521368
kind: ClusterRole
13531369
metadata:

Diff for: plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-roles.yaml

+26-26
Original file line numberDiff line numberDiff line change
@@ -1326,32 +1326,6 @@ items:
13261326
- create
13271327
- patch
13281328
- update
1329-
- apiVersion: rbac.authorization.k8s.io/v1
1330-
kind: ClusterRole
1331-
metadata:
1332-
annotations:
1333-
rbac.authorization.kubernetes.io/autoupdate: "true"
1334-
creationTimestamp: null
1335-
labels:
1336-
kubernetes.io/bootstrapping: rbac-defaults
1337-
name: system:controller:service-ca-cert-publisher
1338-
rules:
1339-
- apiGroups:
1340-
- ""
1341-
resources:
1342-
- configmaps
1343-
verbs:
1344-
- create
1345-
- update
1346-
- apiGroups:
1347-
- ""
1348-
- events.k8s.io
1349-
resources:
1350-
- events
1351-
verbs:
1352-
- create
1353-
- patch
1354-
- update
13551329
- apiVersion: rbac.authorization.k8s.io/v1
13561330
kind: ClusterRole
13571331
metadata:
@@ -1428,6 +1402,32 @@ items:
14281402
- create
14291403
- patch
14301404
- update
1405+
- apiVersion: rbac.authorization.k8s.io/v1
1406+
kind: ClusterRole
1407+
metadata:
1408+
annotations:
1409+
rbac.authorization.kubernetes.io/autoupdate: "true"
1410+
creationTimestamp: null
1411+
labels:
1412+
kubernetes.io/bootstrapping: rbac-defaults
1413+
name: system:controller:service-ca-cert-publisher
1414+
rules:
1415+
- apiGroups:
1416+
- ""
1417+
resources:
1418+
- configmaps
1419+
verbs:
1420+
- create
1421+
- update
1422+
- apiGroups:
1423+
- ""
1424+
- events.k8s.io
1425+
resources:
1426+
- events
1427+
verbs:
1428+
- create
1429+
- patch
1430+
- update
14311431
- apiVersion: rbac.authorization.k8s.io/v1
14321432
kind: ClusterRole
14331433
metadata:

0 commit comments

Comments
 (0)