1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-30 19:54:46 +00:00

Merge pull request #1078 from marquiz/devel/helm

helm: fix topology-updater rbac
This commit is contained in:
Kubernetes Prow Robot 2023-03-09 09:42:02 -08:00 committed by GitHub
commit d90a4f4d04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -18,12 +18,6 @@ rules:
- patch - patch
- update - update
- list - list
- apiGroups:
- ""
resources:
- nodes/proxy
verbs:
- get
- apiGroups: - apiGroups:
- nfd.k8s-sigs.io - nfd.k8s-sigs.io
resources: resources:
@ -36,7 +30,7 @@ rules:
{{- end }} {{- end }}
--- ---
{{- if .Values.topologyUpdater.rbac.create }} {{- if and .Values.topologyUpdater.enable .Values.topologyUpdater.rbac.create }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
@ -51,6 +45,12 @@ rules:
verbs: verbs:
- get - get
- list - list
- apiGroups:
- ""
resources:
- nodes/proxy
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:

View file

@ -393,7 +393,7 @@ topologyUpdater:
annotations: {} annotations: {}
name: name:
rbac: rbac:
create: false create: true
kubeletConfigPath: kubeletConfigPath:
kubeletPodResourcesSockPath: kubeletPodResourcesSockPath: