From 3ab963371ac84f4fac5b163fb87d30acbe21dfc4 Mon Sep 17 00:00:00 2001 From: Baalekshan Date: Mon, 21 Oct 2024 22:44:14 +0530 Subject: [PATCH] Disable ode-feature-discovery when fd.enabled is false Signed-off-by: Baalekshan --- deployments/gpu-operator/templates/clusterrolebinding.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployments/gpu-operator/templates/clusterrolebinding.yaml b/deployments/gpu-operator/templates/clusterrolebinding.yaml index 08b87fbce..d5a374562 100644 --- a/deployments/gpu-operator/templates/clusterrolebinding.yaml +++ b/deployments/gpu-operator/templates/clusterrolebinding.yaml @@ -9,6 +9,7 @@ subjects: - kind: ServiceAccount name: gpu-operator namespace: {{ $.Release.Namespace }} +{{- if .Values.nfd.enabled }} - kind: ServiceAccount name: node-feature-discovery namespace: {{ $.Release.Namespace }}