mirror of
https://github.com/outbackdingo/kamaji.git
synced 2026-01-27 10:19:29 +00:00
* feat: Add DataStoreSchema field to TCP spec * feat: Read DB_SCHEMA from TCP spec field * feat: Default DataStoreSchema in webhook * fix: Catch unsetting the dataStore via CEL * fix: Apply all patches, not only the first This also includes converting OnUpdate() to a no-op, as the existence and immutability of the fields are already checked by the API server, thanks to kubebuilder markers. The webhook ensures that fields like dataStore, dataStoreSchema are defaulted during creation (if unset), and the CEL expressions prohibit unsetting them during update. * test: Add tests for defaulting webhook * fix: typo * fix: Linter issues * fix: make apidoc * Update TCP CRD in charts folder * fix: Don't run E2E tests during `make test` * fix: Use proper `metav1` import name * feat: Handle updates of TCPs without dataStoreSchema (+ tests) * fix: Prioritize Status over Spec Co-authored-by: Dario Tranchitella <dario@tranchitella.eu> * Update goDoc on DataStore field * make apidoc --------- Co-authored-by: Dario Tranchitella <dario@tranchitella.eu>