Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sc-16445] override slice values on redeploy #286

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ We use the following categories for changes:

### Changed

- Override slice values on redeploy [#sc-16445]

### Fixed

### Removed
Expand Down
2 changes: 1 addition & 1 deletion cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ func generateChartValues(chartValues map[string]interface{}, apiKey, installatio
chartValues["agent"] = map[string]interface{}{"tolerations": tolerations}
}

if err = mergo.Merge(&chartValues, valuesOverride, mergo.WithSliceDeepCopy); err != nil {
if err = mergo.Merge(&chartValues, valuesOverride, mergo.WithOverride); err != nil {
return nil, err
}

Expand Down
Loading