Unverified Commit c90b87e2 authored by hhzhang16's avatar hhzhang16 Committed by GitHub
Browse files

fix: add endpointslices RBAC permission for Planner service account (#5195)


Signed-off-by: default avatarHannah Zhang <hannahz@nvidia.com>
parent 11d7d3f5
......@@ -42,6 +42,12 @@ rules:
- apiGroups: ["nvidia.com"]
resources: ["dynamographdeploymentscalingadapters/scale"]
verbs: ["patch"]
- apiGroups: ["discovery.k8s.io"]
resources: ["endpointslices"]
verbs: ["get", "list", "watch"]
- apiGroups: ["nvidia.com"]
resources: ["dynamoworkermetadatas"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
......@@ -74,4 +80,10 @@ rules:
- apiGroups: ["nvidia.com"]
resources: ["dynamographdeploymentscalingadapters/scale"]
verbs: ["patch"]
- apiGroups: ["discovery.k8s.io"]
resources: ["endpointslices"]
verbs: ["get", "list", "watch"]
- apiGroups: ["nvidia.com"]
resources: ["dynamoworkermetadatas"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
{{- end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment