From 1b728fa6c22ef351692680592480b428d5053291 Mon Sep 17 00:00:00 2001 From: Shiva Krishna Merla Date: Tue, 5 Nov 2024 12:07:09 -0800 Subject: [PATCH] Fix operator RBAC for managing nemo guardrails service (#210) Signed-off-by: Shiva Krishna, Merla --- .../templates/manager-rbac.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/deployments/helm/k8s-nim-operator/templates/manager-rbac.yaml b/deployments/helm/k8s-nim-operator/templates/manager-rbac.yaml index 38d92220..648cb7a6 100644 --- a/deployments/helm/k8s-nim-operator/templates/manager-rbac.yaml +++ b/deployments/helm/k8s-nim-operator/templates/manager-rbac.yaml @@ -76,6 +76,32 @@ rules: - patch - update - watch +- apiGroups: + - apps.nvidia.com + resources: + - nemoguardrails + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps.nvidia.com + resources: + - nemoguardrails/finalizers + verbs: + - update +- apiGroups: + - apps.nvidia.com + resources: + - nemoguardrails/status + verbs: + - get + - patch + - update - apiGroups: - apps.nvidia.com resources: