Closed martinhesko closed 3 months ago
Summary
The kuadrant operator now allows defaults to be set for AuthPolicy and RateLimitPolicy. Test that these defaults work properly and are mutually exclusive with setting policy in spec.
Documentation
Implementing PRs: https://github.com/Kuadrant/kuadrant-operator/pull/503, https://github.com/Kuadrant/kuadrant-operator/pull/456, https://github.com/Kuadrant/kuadrant-operator/pull/536 RFC: https://github.com/Kuadrant/architecture/blob/main/rfcs/0009-defaults-and-overrides.md
Test cases
Repeat each for AuthPolicy and RateLimitPolicy
Tests functionality of rules set within the defaults block
defaults
Test mutual exclusivity of defaults block with other rules
Implicit and explicit defaults are mutually exclusive
Test policy inheritability and PolicyAffected condition
Object affected by {Auth|RateLimit}Policy x
Test policy discoverability
@martinhesko how do 2 last test cases differ from each other?
Summary
The kuadrant operator now allows defaults to be set for AuthPolicy and RateLimitPolicy. Test that these defaults work properly and are mutually exclusive with setting policy in spec.
Documentation
Implementing PRs: https://github.com/Kuadrant/kuadrant-operator/pull/503, https://github.com/Kuadrant/kuadrant-operator/pull/456, https://github.com/Kuadrant/kuadrant-operator/pull/536 RFC: https://github.com/Kuadrant/architecture/blob/main/rfcs/0009-defaults-and-overrides.md
Test cases
Repeat each for AuthPolicy and RateLimitPolicy
Tests functionality of rules set within the
defaults
blockTest mutual exclusivity of
defaults
block with other rulesdefaults
blockImplicit and explicit defaults are mutually exclusive
Test policy inheritability and PolicyAffected condition
defaults
block to your gatewayObject affected by {Auth|RateLimit}Policy x
Test policy discoverability
defaults
block to your gatewayObject affected by {Auth|RateLimit}Policy x