Actions
Bug #24236
closedOverriding properties should have the same type as overridden
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I dislike using that feature
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Medium
Priority:
59
Name check:
To do
Fix check:
To do
Regression:
No
Description
With a global parameter of type json e.g. dns
with value {"servers":["1.1.1.1"]}
, it should not be possible to override the property with a raw string value e.g. "9.9.9.9"
because it may break policy generation.
- enforce that a overriding property be of the same type as the overridden
- warn about any existing inconsistencies within a node or group that overrides a property
- warn heavily when changing the type of a property which already has overrides, knowing the hierarchy
global parameter > group > node
for properties inheritance. The user should have a list of affected groups or nodes when making such change
Actions