Skip to content

Commit

Permalink
Merge pull request #952 from goto-opensource/helm-chart-cluster-role-…
Browse files Browse the repository at this point in the history
…binding-remove-namespace

Remove namespace field from cluster-scoped `ClusterRole` and `ClusterRoleBinding` resources
  • Loading branch information
elezar authored Oct 17, 2024
2 parents 33394bf + 6486c0e commit 2d8955e
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 2d8955e

Please sign in to comment.