1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-14 20:56:42 +00:00

deployment/helm: don't deploy topology-updater conf unnecessarily

Only deploy the topology-updater config if topology-updater itself (the
daemon) is deployed.
This commit is contained in:
Markus Lehtonen 2024-01-25 16:15:58 +02:00
parent f3e07aeb91
commit 8adb4b38da

View file

@ -1,3 +1,4 @@
{{- if .Values.topologyUpdater.enable -}}
apiVersion: v1
kind: ConfigMap
metadata:
@ -8,3 +9,4 @@ metadata:
data:
nfd-topology-updater.conf: |-
{{- .Values.topologyUpdater.config | toYaml | nindent 4 }}
{{- end }}