Skip to content

Commit d96b88a

Browse files
joelanfordthetechnick
authored andcommitted
add boxcutter cluster-admin cluster role binding in boxcutter's feature component
Signed-off-by: Joe Lanford <[email protected]>
1 parent 99c1cf2 commit d96b88a

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed
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: operator-controller-boxcutter-cluster-admin
5+
roleRef:
6+
apiGroup: rbac.authorization.k8s.io
7+
kind: ClusterRole
8+
name: cluster-admin
9+
subjects:
10+
- kind: ServiceAccount
11+
name: operator-controller-controller-manager
12+
namespace: olmv1-system

config/components/features/boxcutter-runtime/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
---
33
apiVersion: kustomize.config.k8s.io/v1alpha1
44
kind: Component
5+
resources:
6+
- cluster_role_binding.yaml
57
patches:
68
- target:
79
kind: Deployment

manifests/experimental-e2e.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,6 +1699,21 @@ subjects:
16991699
---
17001700
apiVersion: rbac.authorization.k8s.io/v1
17011701
kind: ClusterRoleBinding
1702+
metadata:
1703+
annotations:
1704+
olm.operatorframework.io/feature-set: experimental
1705+
name: operator-controller-boxcutter-cluster-admin
1706+
roleRef:
1707+
apiGroup: rbac.authorization.k8s.io
1708+
kind: ClusterRole
1709+
name: cluster-admin
1710+
subjects:
1711+
- kind: ServiceAccount
1712+
name: operator-controller-controller-manager
1713+
namespace: olmv1-system
1714+
---
1715+
apiVersion: rbac.authorization.k8s.io/v1
1716+
kind: ClusterRoleBinding
17021717
metadata:
17031718
annotations:
17041719
olm.operatorframework.io/feature-set: experimental

manifests/experimental.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,6 +1699,21 @@ subjects:
16991699
---
17001700
apiVersion: rbac.authorization.k8s.io/v1
17011701
kind: ClusterRoleBinding
1702+
metadata:
1703+
annotations:
1704+
olm.operatorframework.io/feature-set: experimental
1705+
name: operator-controller-boxcutter-cluster-admin
1706+
roleRef:
1707+
apiGroup: rbac.authorization.k8s.io
1708+
kind: ClusterRole
1709+
name: cluster-admin
1710+
subjects:
1711+
- kind: ServiceAccount
1712+
name: operator-controller-controller-manager
1713+
namespace: olmv1-system
1714+
---
1715+
apiVersion: rbac.authorization.k8s.io/v1
1716+
kind: ClusterRoleBinding
17021717
metadata:
17031718
annotations:
17041719
olm.operatorframework.io/feature-set: experimental

0 commit comments

Comments
 (0)