groundcover-com / cli

groundcover's official CLI tool. Level up your K8s observability game with eBPF.
https://www.groundcover.com
Apache License 2.0
31 stars 3 forks source link

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

Closed avivzgroundcover closed 4 months ago

avivzgroundcover commented 4 months ago

This changes the way the CLI merges value overrides with existing values already deployed in the chart. Previously slices were merged with deep copy; this caused issues when changing configurations like extraScrapeJobs or logsDropFilters, creating inconsistent behaviors.

After this change, the value will always be fully overwritten by the provided overrides - assuming one was given.