Skip to content

Commit

Permalink
fix: remove namespace field from cluster-scoped ClusterRole and `Cl…
Browse files Browse the repository at this point in the history
…usterRoleBinding` resources

Signed-off-by: Alfred Krohmer <[email protected]>
  • Loading branch information
alfredkrohmer committed Sep 9, 2024
1 parent f566a82 commit f72daa0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "nvidia-device-plugin.fullname" . }}-role-binding
namespace: {{ include "nvidia-device-plugin.namespace" . }}
labels:
{{- include "nvidia-device-plugin.labels" . | nindent 4 }}
subjects:
Expand Down
1 change: 0 additions & 1 deletion deployments/helm/nvidia-device-plugin/templates/role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "nvidia-device-plugin.fullname" . }}-role
namespace: {{ include "nvidia-device-plugin.namespace" . }}
labels:
{{- include "nvidia-device-plugin.labels" . | nindent 4 }}
rules:
Expand Down

0 comments on commit f72daa0

Please sign in to comment.