@@ -726,6 +726,25 @@ func (i *Installer) setInstallationParams(
726726 }
727727 }
728728
729+ if cr .Spec .CSISidecarProvisionerImage != "" {
730+ csiSidecarProvisionerImage = cr .Spec .CSISidecarProvisionerImage
731+ }
732+ if cr .Spec .CSISidecarAttacherImage != "" {
733+ csiSidecarAttacherImage = cr .Spec .CSISidecarAttacherImage
734+ }
735+ if cr .Spec .CSISidecarResizerImage != "" {
736+ csiSidecarResizerImage = cr .Spec .CSISidecarResizerImage
737+ }
738+ if cr .Spec .CSISidecarSnapshotterImage != "" {
739+ csiSidecarSnapshotterImage = cr .Spec .CSISidecarSnapshotterImage
740+ }
741+ if cr .Spec .CSISidecarNodeDriverRegistrarImage != "" {
742+ csiSidecarNodeDriverRegistrarImage = cr .Spec .CSISidecarNodeDriverRegistrarImage
743+ }
744+ if cr .Spec .CSISidecarLivenessProbeImage != "" {
745+ csiSidecarLivenessProbeImage = cr .Spec .CSISidecarLivenessProbeImage
746+ }
747+
729748 // Setting up the resources
730749 if returnError = i .populateResources (cr ); returnError != nil {
731750 return nil , nil , false , fmt .Errorf ("failed parsing resources list specified: \n %w" , returnError )
@@ -1033,41 +1052,47 @@ func (i *Installer) InstallOrPatchTrident(
10331052 acpVersion := i .GetACPVersion ()
10341053
10351054 identifiedSpecValues := netappv1.TridentOrchestratorSpecValues {
1036- EnableForceDetach : strconv .FormatBool (enableForceDetach ),
1037- DisableAuditLog : strconv .FormatBool (disableAuditLog ),
1038- LogFormat : logFormat ,
1039- Debug : strconv .FormatBool (debug ),
1040- LogLevel : determineLogLevel (),
1041- LogWorkflows : logWorkflows ,
1042- LogLayers : logLayers ,
1043- TridentImage : tridentImage ,
1044- ImageRegistry : imageRegistry ,
1045- IPv6 : strconv .FormatBool (useIPv6 ),
1046- SilenceAutosupport : strconv .FormatBool (silenceAutosupport ),
1047- ProbePort : probePort ,
1048- AutosupportImage : autosupportImage ,
1049- AutosupportProxy : autosupportProxy ,
1050- AutosupportInsecure : autosupportInsecure ,
1051- AutosupportSerialNumber : autosupportSerialNumber ,
1052- AutosupportHostname : autosupportHostname ,
1053- KubeletDir : kubeletDir ,
1054- K8sTimeout : strconv .Itoa (int (k8sTimeout .Seconds ())),
1055- HTTPRequestTimeout : httpTimeout ,
1056- ImagePullSecrets : imagePullSecrets ,
1057- NodePluginNodeSelector : nodePluginNodeSelector ,
1058- NodePluginTolerations : nodePluginTolerations ,
1059- ImagePullPolicy : imagePullPolicy ,
1060- EnableACP : strconv .FormatBool (enableACP ),
1061- ACPImage : acpImage ,
1062- ISCSISelfHealingInterval : iscsiSelfHealingInterval ,
1063- ISCSISelfHealingWaitTime : iscsiSelfHealingWaitTime ,
1064- K8sAPIQPS : k8sAPIQPS ,
1065- FSGroupPolicy : fsGroupPolicy ,
1066- NodePrep : nodePrep ,
1067- EnableConcurrency : strconv .FormatBool (enableConcurrency ),
1068- Resources : resourcesValues ,
1069- HTTPSMetrics : strconv .FormatBool (httpsMetrics ),
1070- HostNetwork : hostNetwork ,
1055+ EnableForceDetach : strconv .FormatBool (enableForceDetach ),
1056+ DisableAuditLog : strconv .FormatBool (disableAuditLog ),
1057+ LogFormat : logFormat ,
1058+ Debug : strconv .FormatBool (debug ),
1059+ LogLevel : determineLogLevel (),
1060+ LogWorkflows : logWorkflows ,
1061+ LogLayers : logLayers ,
1062+ TridentImage : tridentImage ,
1063+ ImageRegistry : imageRegistry ,
1064+ CSISidecarProvisionerImage : csiSidecarProvisionerImage ,
1065+ CSISidecarAttacherImage : csiSidecarAttacherImage ,
1066+ CSISidecarResizerImage : csiSidecarResizerImage ,
1067+ CSISidecarSnapshotterImage : csiSidecarSnapshotterImage ,
1068+ CSISidecarNodeDriverRegistrarImage : csiSidecarNodeDriverRegistrarImage ,
1069+ CSISidecarLivenessProbeImage : csiSidecarLivenessProbeImage ,
1070+ IPv6 : strconv .FormatBool (useIPv6 ),
1071+ SilenceAutosupport : strconv .FormatBool (silenceAutosupport ),
1072+ ProbePort : probePort ,
1073+ AutosupportImage : autosupportImage ,
1074+ AutosupportProxy : autosupportProxy ,
1075+ AutosupportInsecure : autosupportInsecure ,
1076+ AutosupportSerialNumber : autosupportSerialNumber ,
1077+ AutosupportHostname : autosupportHostname ,
1078+ KubeletDir : kubeletDir ,
1079+ K8sTimeout : strconv .Itoa (int (k8sTimeout .Seconds ())),
1080+ HTTPRequestTimeout : httpTimeout ,
1081+ ImagePullSecrets : imagePullSecrets ,
1082+ NodePluginNodeSelector : nodePluginNodeSelector ,
1083+ NodePluginTolerations : nodePluginTolerations ,
1084+ ImagePullPolicy : imagePullPolicy ,
1085+ EnableACP : strconv .FormatBool (enableACP ),
1086+ ACPImage : acpImage ,
1087+ ISCSISelfHealingInterval : iscsiSelfHealingInterval ,
1088+ ISCSISelfHealingWaitTime : iscsiSelfHealingWaitTime ,
1089+ K8sAPIQPS : k8sAPIQPS ,
1090+ FSGroupPolicy : fsGroupPolicy ,
1091+ NodePrep : nodePrep ,
1092+ EnableConcurrency : strconv .FormatBool (enableConcurrency ),
1093+ Resources : resourcesValues ,
1094+ HTTPSMetrics : strconv .FormatBool (httpsMetrics ),
1095+ HostNetwork : hostNetwork ,
10711096 }
10721097
10731098 Log ().WithFields (LogFields {
0 commit comments