Kong / kubernetes-configuration

MIT License
4 stars 0 forks source link

Cover all existing CEL rules in tests #29

Open czeslavo opened 2 months ago

czeslavo commented 2 months ago

Problem Statement

https://github.com/Kong/kubernetes-configuration/pull/25 added a test suite that allows verifying CRDs' CEL rules. The goal of this issue is to cover all existing rules that are not covered yet.

Proposed Solution

Add test cases for:

### Tasks
- [x] KonnectAPIAuthConfiguration
- [x] KonnectControlPlane
- [x] KongConsumer
- [x] KongPlugin
- [x] KongVault
- [x] KongRoute
- [x] KongService
- [ ] KongClusterPlugin
- [ ] KongIngress
- [ ] KongUpstreamPolicy
- [ ] KongCustomEntity
- [ ] IngressClassParameters

Note: some of the test cases might be migrated from the existing suite in KIC.

Additional Information

Acceptance Criteria

czeslavo commented 3 weeks ago

Given all net new CRDs added for the Konnect entities feature are covered, I think it's no longer a blocker for the 1.4 release.