Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VaniHaripriya committed Dec 13, 2024
1 parent cb9e744 commit 098ecc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/dspipeline_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,14 +597,14 @@ func (p *DSPAParams) ExtractParams(ctx context.Context, dsp *dspa.DataSciencePip
argoLauncherImageFromConfig := config.GetStringConfigWithDefault(config.LauncherImagePath, config.DefaultImageValue)
argoDriverImageFromConfig := config.GetStringConfigWithDefault(config.DriverImagePath, config.DefaultImageValue)

p.EnableSamplePipeline = dsp.Spec.APIServer.EnableSamplePipeline
p.EnableIlabKFPPipeline = dsp.Spec.APIServer.EnableIlabKFPPipeline

setStringDefault(serverImageFromConfig, &p.APIServer.Image)
setStringDefault(argoLauncherImageFromConfig, &p.APIServer.ArgoLauncherImage)
setStringDefault(argoDriverImageFromConfig, &p.APIServer.ArgoDriverImage)
setResourcesDefault(config.APIServerResourceRequirements, &p.APIServer.Resources)

p.EnableSamplePipeline = dsp.Spec.APIServer.EnableSamplePipeline
p.EnableIlabKFPPipeline = dsp.Spec.APIServer.EnableIlabKFPPipeline

if p.APIServer.CustomServerConfig == nil {
p.APIServer.CustomServerConfig = &dspa.ScriptConfigMap{
Name: config.CustomServerConfigMapNamePrefix + dsp.Name,
Expand Down

0 comments on commit 098ecc4

Please sign in to comment.