Skip to content

Commit

Permalink
update wandb-console-role permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
velotioaastha committed May 17, 2024
1 parent c3343d9 commit 8402275
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions charts/operator-wandb/charts/console/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ metadata:
{{- toYaml .Values.clusterRole.annotations | nindent 4 }}
{{- end }}
rules:
# We can scope these permissions down later
# - apiGroups: ["*"]
# resources: ["*"]
# verbs: ["*"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "create", "update", "delete"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get"]
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list", "watch", "patch"]
- apiGroups: [""]
resources: ["nodes", "namespaces", "pods", "pods/log", "configmaps", "services", "serviceaccounts", "events"]
verbs: ["get", "list"]
- apiGroups: ["apps"]
resources: ["deployments", "statefulsets", "daemonsets", "replicasets", "controllerrevisions"]
verbs: ["get", "list"]
- apiGroups: ["apps"]
resources: ["deployments/status", "statefulsets/status", "daemonsets/status", "replicasets/status"]
verbs: ["get"]
{{- end }}

0 comments on commit 8402275

Please sign in to comment.