Skip to content

Commit

Permalink
Added missing roles
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam committed May 29, 2024
1 parent c269eb9 commit 48ecdf1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions oscar/templates/oscar-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ rules:
- apps
resources:
- daemonsets
- deployments
verbs:
- get
- list
Expand Down Expand Up @@ -70,6 +71,7 @@ rules:
- watch
- create
- delete

{{- if eq (lower .Values.serverlessBackend) "openfaas" }}
- apiGroups:
- apps
Expand Down Expand Up @@ -203,6 +205,15 @@ rules:
- get
- list
- watch
- apiGroups:
- metrics.k8s.io
resources:
- nodes
verbs:
- get
- list
- watch

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down

0 comments on commit 48ecdf1

Please sign in to comment.