cozystack/packages/core/platform
Denis Yudin e5872c9fd4 fix: use mergeOverwrite to properly override ConfigMap values
Fixes an issue where boolean values from bundle files were not being
properly overridden by values-<component> ConfigMap entries.

The Helm merge function has a bug when merging boolean values where
true from the first dict doesn't get overwritten by false from the
second dict. Using mergeOverwrite ensures ConfigMap values take
precedence over bundle values as intended.

Example:
- Bundle: autoDirectNodeRoutes: true
- ConfigMap values-cilium: autoDirectNodeRoutes: false
- Before: result was true (incorrect)
- After: result is false (correct)

This fix ensures that users can properly override any component
configuration using the values-<component> pattern in the cozystack
ConfigMap.

Signed-off-by: Denis Yudin <dyudin@intermedia.com>
(cherry picked from commit 52d749d46a)
2025-09-04 15:31:38 +00:00
..
bundles [fix] add robotlb to bundles 2025-07-23 13:26:36 +03:00
templates fix: use mergeOverwrite to properly override ConfigMap values 2025-09-04 15:31:38 +00:00
Chart.yaml Calculate tags and version automatically (#100) 2024-04-24 11:31:22 +02:00
Makefile [platform] Use cozypkg instead of helm 2025-06-13 19:02:15 +02:00