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:
commit
d90a4f4d04
2 changed files with 8 additions and 8 deletions
|
@ -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:
|
||||||
|
|
|
@ -393,7 +393,7 @@ topologyUpdater:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
name:
|
name:
|
||||||
rbac:
|
rbac:
|
||||||
create: false
|
create: true
|
||||||
|
|
||||||
kubeletConfigPath:
|
kubeletConfigPath:
|
||||||
kubeletPodResourcesSockPath:
|
kubeletPodResourcesSockPath:
|
||||||
|
|
Loading…
Add table
Reference in a new issue