Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,35 @@ subjects:
namespace: test-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: nvidia-dra-driver-kubeletplugin-computedomain
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: nvidia-dra-driver-kubeletplugin-computedomain
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: nvidia-dra-driver-kubeletplugin-computedomain
subjects:
- kind: ServiceAccount
name: nvidia-dra-driver-kubeletplugin
namespace: test-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: nvidia-dra-driver-kubeletplugin
Expand Down Expand Up @@ -306,15 +335,6 @@ rules:
- create
- update
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- update
- apiGroups:
- ""
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ rules:
- create
- update
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- update
- apiGroups:
- ""
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ rules:
- create
- update
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- update
- apiGroups:
- ""
resources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
{{- if .DRADriver.Spec.IsComputeDomainsEnabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: nvidia-dra-driver-kubeletplugin-computedomain
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: nvidia-dra-driver-kubeletplugin-computedomain
subjects:
- kind: ServiceAccount
name: nvidia-dra-driver-kubeletplugin
namespace: {{ .Namespace }}
roleRef:
kind: ClusterRole
name: nvidia-dra-driver-kubeletplugin-computedomain
apiGroup: rbac.authorization.k8s.io
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: nvidia-dra-driver-kubeletplugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ rules:
- create
- update
- delete
- apiGroups:
Comment thread
rajathagasthya marked this conversation as resolved.
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- update
- apiGroups:
- ""
resources:
Expand Down