Kong / gateway-operator

Kubernetes Operator for Kong Gateways
Apache License 2.0
52 stars 15 forks source link

feat(konnect): add KongCACertificate reconciler #626

Closed czeslavo closed 1 month ago

czeslavo commented 1 month ago

What this PR does / why we need it:

Adds KongCACertificate reconciler.

Which issue this PR fixes

Fixes https://github.com/Kong/gateway-operator/issues/582.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

czeslavo commented 1 month ago

@pmalek Thank you for the valuable comments. I decided to convert the envtest using konnectEntityReconcilerTestCase to a standalone one. It didn't fit well into the rigid setup in konnectEntityReconcilerTestCase - passing dynamic names/IDs between the expectation sets, etc. is not easily doable there.

I think we should stick to the "standalone" tests to not limit how thoroughly we can verify the reconciler in them.