Skip to content

Commit 4f26287

Browse files
committed
Update autogenerated
Signed-off-by: Maciej Zimnoch <[email protected]>
1 parent d2ce459 commit 4f26287

12 files changed

+114
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
rbac.example.memcached.com/aggregate-to-aggregation-memcached: "true"
7+
name: memcached-operator-aggregation-memcached-subrole
8+
rules:
9+
- apiGroups:
10+
- ""
11+
resources:
12+
- pods
13+
verbs:
14+
- update

testdata/go/v4/memcached-operator/bundle/manifests/memcached-operator.clusterserviceversion.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ spec:
5858
spec:
5959
clusterPermissions:
6060
- rules:
61+
- apiGroups:
62+
- ""
63+
resources:
64+
- pods
65+
verbs:
66+
- update
6167
- apiGroups:
6268
- ""
6369
resources:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: aggregation-memcached-subrole
5+
labels:
6+
rbac.example.memcached.com/aggregate-to-aggregation-memcached: "true"
7+
rules:
8+
- apiGroups:
9+
- ""
10+
resources:
11+
- pods
12+
verbs:
13+
- update
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: aggregation-memcached
5+
aggregationRule:
6+
clusterRoleSelectors:
7+
- matchLabels:
8+
rbac.example.memcached.com/aggregate-to-aggregation-memcached: "true"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
name: aggregation-memcached
5+
roleRef:
6+
apiGroup: rbac.authorization.k8s.io
7+
kind: ClusterRole
8+
name: aggregation-memcached
9+
subjects:
10+
- kind: ServiceAccount
11+
name: controller-manager
12+
namespace: system

testdata/go/v4/memcached-operator/config/rbac/kustomization.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ resources:
2525
- memcached_admin_role.yaml
2626
- memcached_editor_role.yaml
2727
- memcached_viewer_role.yaml
28+
- aggregation.clusterrolebinding.yaml
29+
- aggregation-subrole.clusterrole.yaml
30+
- aggregation.clusterrole.yaml
31+
2832

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
rbac.example.memcached.com/aggregate-to-aggregation-memcached: "true"
7+
name: memcached-operator-aggregation-memcached-subrole
8+
rules:
9+
- apiGroups:
10+
- ""
11+
resources:
12+
- pods
13+
verbs:
14+
- update

testdata/go/v4/monitoring/memcached-operator/bundle/manifests/memcached-operator.clusterserviceversion.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ spec:
5858
spec:
5959
clusterPermissions:
6060
- rules:
61+
- apiGroups:
62+
- ""
63+
resources:
64+
- pods
65+
verbs:
66+
- update
6167
- apiGroups:
6268
- ""
6369
resources:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: aggregation-memcached-subrole
5+
labels:
6+
rbac.example.memcached.com/aggregate-to-aggregation-memcached: "true"
7+
rules:
8+
- apiGroups:
9+
- ""
10+
resources:
11+
- pods
12+
verbs:
13+
- update
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: aggregation-memcached
5+
aggregationRule:
6+
clusterRoleSelectors:
7+
- matchLabels:
8+
rbac.example.memcached.com/aggregate-to-aggregation-memcached: "true"

0 commit comments

Comments
 (0)