Kuadrant / kuadrant-operator

The Operator to install and manage the lifecycle of the Kuadrant components deployments.
Apache License 2.0
34 stars 32 forks source link

Defaults & Overrides #431

Open guicassolato opened 7 months ago

guicassolato commented 7 months ago

Extend the Kuadrant Policy APIs so we support use cases of Defaults & Overrides (D/O) for Inherited Policies, including the following base use cases:

As well as the following derivative cases:

Out of scope:

Affected APIs:

Non-affected APIs, while these are considered Direct Policies, i.e. with no hierarchical effect:

Implementation steps

Tier 0: Specification and WIP to close first

(priority: 0)

Tier 1

(priority: 1)

Tier 2

(priority: 2)

Tier 3

(priority: 3)

Enhancements & refactoring

(priority: 4)

Unresolved questions & Future possibilities

(priority: 5)

Tests

KevFan commented 6 months ago

Implementation steps looks good to me to cover the RFC suggestions šŸ‘

I've updated the PR link for RateLimit WasmPlugin Controller as the intial PR has now been superseded by https://github.com/Kuadrant/kuadrant-operator/pull/447

guicassolato commented 6 months ago

About using maps vs listMapType and the effects on merging into spec fields, to leave no doubts, @youngnick has added an excellent example to https://github.com/kubernetes-sigs/gateway-api/pull/2813.

cc @maleck13