Skip to content

Commit 575ca22

Browse files
committed
don't render nvidiadriver CR if driver is disabled
Signed-off-by: Rahul Sharma <[email protected]>
1 parent e592550 commit 575ca22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployments/gpu-operator/templates/nvidiadriver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and .Values.driver.nvidiaDriverCRD.enabled .Values.driver.nvidiaDriverCRD.deployDefaultCR }}
1+
{{- if and .Values.driver.enabled .Values.driver.nvidiaDriverCRD.enabled .Values.driver.nvidiaDriverCRD.deployDefaultCR }}
22
apiVersion: nvidia.com/v1alpha1
33
kind: NVIDIADriver
44
metadata:

0 commit comments

Comments
 (0)