From 48ecdf1b127bfa221e86ff9dcdd5530faf4333d2 Mon Sep 17 00:00:00 2001 From: catttam Date: Wed, 29 May 2024 12:03:23 +0200 Subject: [PATCH] Added missing roles --- oscar/templates/oscar-rbac.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/oscar/templates/oscar-rbac.yaml b/oscar/templates/oscar-rbac.yaml index c8aecb2..752b991 100644 --- a/oscar/templates/oscar-rbac.yaml +++ b/oscar/templates/oscar-rbac.yaml @@ -41,6 +41,7 @@ rules: - apps resources: - daemonsets + - deployments verbs: - get - list @@ -70,6 +71,7 @@ rules: - watch - create - delete + {{- if eq (lower .Values.serverlessBackend) "openfaas" }} - apiGroups: - apps @@ -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