From daa25da4195c8ff9858568b43eb504ea91de2ff0 Mon Sep 17 00:00:00 2001 From: Trevor Dawe Date: Fri, 20 Sep 2024 10:35:41 -0300 Subject: [PATCH] Enable SDC by default if not explicitly set (#513) --- charts/csi-vxflexos/templates/node.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/csi-vxflexos/templates/node.yaml b/charts/csi-vxflexos/templates/node.yaml index 477db353..0fd8377b 100644 --- a/charts/csi-vxflexos/templates/node.yaml +++ b/charts/csi-vxflexos/templates/node.yaml @@ -305,7 +305,7 @@ spec: - name: host-opt-emc-path mountPath: /host_opt_emc_path {{- end }} - {{- if and (hasKey .Values.node "sdc") (eq .Values.node.sdc.enabled true) }} + {{- if or (not (hasKey (.Values.node.sdc) "enabled")) (eq .Values.node.sdc.enabled true) }} initContainers: - name: sdc securityContext: