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
Create policy 2 targeting the same Gateway, the policy provides a complete override to Policy 1 instead of Policy 1 staying partially enforced as expected
If Policy 2 is created first it works as expected, with Policy 1 being partially enforced.
The text was updated successfully, but these errors were encountered:
I think what's described is the expected behaviour, i.e. there's no bug IMO.
The strategy declared by a policy only applies to the policies that are lower than that policy in the hierarchy.
In the example provided, both policies target the same level, but Policy 1 is created first. Therefore, Policy 1 > Policy 21. In this case, the strategy implicitly declared by Policy 1 (i.e. atomic defaults) dictates the behaviour, and the fact that Policy 2 declares merge overrides means nothing.
Footnotes
See Conflict Resolution in GEP-713. "The older Policy based on creation timestamp beats a newer one."↩
During test development, I noticed this only in a case where I had 2 policies targeting the same Gateway, with one providing a merge override.
Steps to reproduce
Policy 1:
Policy 2:
If Policy 2 is created first it works as expected, with Policy 1 being partially enforced.
The text was updated successfully, but these errors were encountered: