mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-05 08:17:04 +00:00
helm: create topology-updater RBAC rules by default
Create RBAC rules if topology-updater is enabled. Previously installing with topologyUpdater.enable=true (without topologyUpdater.rbac.create=true) resulted in a crashloogbackoff as RBAC was missing.
This commit is contained in:
parent
40d7139257
commit
40644aab60
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ rules:
|
|||
{{- end }}
|
||||
|
||||
---
|
||||
{{- if .Values.topologyUpdater.rbac.create }}
|
||||
{{- if and .Values.topologyUpdater.enable .Values.topologyUpdater.rbac.create }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
|
|
|
@ -393,7 +393,7 @@ topologyUpdater:
|
|||
annotations: {}
|
||||
name:
|
||||
rbac:
|
||||
create: false
|
||||
create: true
|
||||
|
||||
kubeletConfigPath:
|
||||
kubeletPodResourcesSockPath:
|
||||
|
|
Loading…
Add table
Reference in a new issue