Skip to content

Commit

Permalink
readding node clusterRole and rolebinding
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh maheshwari committed Jul 4, 2023
1 parent b4cb361 commit 9c8788b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions e2e/fixtures/fdb_operator_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,33 @@ subjects:
- kind: ServiceAccount
name: fdb-kubernetes-operator-controller-manager
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Namespace }}-operator-manager-clusterrole
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- watch
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ .Namespace }}-operator-manager-clusterrolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Namespace }}-operator-manager-clusterrole
subjects:
- kind: ServiceAccount
name: fdb-kubernetes-operator-controller-manager
namespace: {{ .Namespace }}
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit 9c8788b

Please sign in to comment.