1
0
Fork 0
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:
Markus Lehtonen 2023-03-09 16:16:09 +02:00
parent 40d7139257
commit 40644aab60
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

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