Skip to content

Commit

Permalink
need to skip all satelite integration when skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbiam committed Oct 17, 2024
1 parent 8123402 commit c9b12fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions openunison/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,11 @@ func (ou *OpenUnisonDeployment) DeployOpenUnisonSatelite() error {

ioutil.WriteFile(ou.pathToValuesYaml, dataToWrite, 0644)

shouldReturn, returnValue := ou.integrateSatelite(ou.helmValues, clusterName, err, sateliteIntegrated, actionConfig, satelateReleaseName, settings, nil, "", "", naasRoles)
if shouldReturn {
return returnValue
if !ou.skipCpIntegration {
shouldReturn, returnValue := ou.integrateSatelite(ou.helmValues, clusterName, err, sateliteIntegrated, actionConfig, satelateReleaseName, settings, nil, "", "", naasRoles)
if shouldReturn {
return returnValue
}
}

// deploy the satelte
Expand Down

0 comments on commit c9b12fa

Please sign in to comment.