Skip to content

Commit

Permalink
fix rbac for correct install
Browse files Browse the repository at this point in the history
  • Loading branch information
s.kanibor authored and ckotzbauer committed Mar 31, 2022
1 parent 7cfcee0 commit 2a33935
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deploy/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: sbom-operator
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: sbom-operator
namespace: default
rules:
- apiGroups:
- ""
Expand All @@ -35,11 +33,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: sbom-operator
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: sbom-operator
subjects:
- kind: ServiceAccount
name: sbom-operator
namespace: default

0 comments on commit 2a33935

Please sign in to comment.