You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The Kuadrant operator should only reconcile the spec that is given. This would mean if the user specifies the number of replicas for a component, only the replica field for that component should be reconciled. As other fields might be blank at this stage, these blank fields should not be reconciled to the component Custom Resource (CR)."
However, this behavior is incorrect. Since the subcomponent CR is managed by the Kuadrant CR, it needs to be fully managed. In the current implementation (PR #350), blank fields are ignored, resulting in the component inconsistent behavior from the user perspective.
Example: Inconsistency arises when we have two Kuadrants, each managing a Limitador. For the same Limitador spec configuration in Kuadrant CR, we can result in two different Limitador deployments. If blank fields result in default values instead of being ignored, we can achieve consistency and reconcile only the fields that we intend to modify.
The desired behavior should be as follows: if fields are left blank, they should be reset to their default values rather than being ignored.
The text was updated successfully, but these errors were encountered:
Multiple kuadrant CRs at the same time is not supported as of today
The reconciliation pattern is being refactored in #608, however, the approach does not change. Only fields specified in the kuadrant CR will be enforced in the Limitaodr CR. Any field not defined in kuadrant CR can be manually changed in the limitador CR. For example replicas: If you do not specify replicas in the kuadrant CR, you can freely change replicas in the limitador CR. On the other hand, if you specify replicas in the kuadrant CR, let's say 3, you can not change the value in limitador CR. The kuadrant controller will enforce limitador CR replicas to be 3.
In issue #307, it was mentioned:
"The Kuadrant operator should only reconcile the spec that is given. This would mean if the user specifies the number of replicas for a component, only the replica field for that component should be reconciled. As other fields might be blank at this stage, these blank fields should not be reconciled to the component Custom Resource (CR)."
However, this behavior is incorrect. Since the subcomponent CR is managed by the Kuadrant CR, it needs to be fully managed. In the current implementation (PR #350), blank fields are ignored, resulting in the component inconsistent behavior from the user perspective.
Example: Inconsistency arises when we have two Kuadrants, each managing a Limitador. For the same Limitador spec configuration in Kuadrant CR, we can result in two different Limitador deployments. If blank fields result in default values instead of being ignored, we can achieve consistency and reconcile only the fields that we intend to modify.
The desired behavior should be as follows: if fields are left blank, they should be reset to their default values rather than being ignored.
The text was updated successfully, but these errors were encountered: