NVIDIA / k8s-nim-operator

An Operator for deployment and maintenance of NVIDIA NIMs and NeMo microservices in a Kubernetes environment.
https://docs.nvidia.com/nim-operator/latest
Apache License 2.0
58 stars 13 forks source link

Fix operator RBAC for managing nemo guardrails service #210

Closed shivamerla closed 2 weeks ago

shivamerla commented 2 weeks ago

W1105 19:40:08.871428 1 reflector.go:561] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:106: failed to list *v1alpha1.NemoGuardrail: nemoguardrails.apps.nvidia.com is forbidden: User "system:serviceaccount:nim-operator:k8s-nim-operator" cannot list resource "nemoguardrails" in API group "apps.nvidia.com" at the cluster scope E1105 19:40:08.871472 1 reflector.go:158] "Unhandled Error" err="sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:106: Failed to watch *v1alpha1.NemoGuardrail: failed to list *v1alpha1.NemoGuardrail: nemoguardrails.apps.nvidia.com is forbidden: User \"system:serviceaccount:nim-operator:k8s-nim-operator\" cannot list resource \"nemoguardrails\" in API group \"apps.nvidia.com\" at the cluster scope" logger="UnhandledError"