Skip to content

Commit 2925987

Browse files
feat: Implement generic database connection (#814)
* chore: remove metadata storage properties * chore: smoke tests passing * chore: fix hive related comment * chore: adapt changelog * fix: adapt unit tests to new metadatabase crd * chore: replace remaining metadataStorageDatabase occurances. * fix: use derby references to network client * fix: remove derby warning from getting started (uses postgres) * fix: yaml lints * fix: missing derby change in test * fix: remove c&p hive references enum / method comments * Automatically prepend needed localhost:127 to Derby JDBC connection strings * fix: rename as_db_type * Update CHANGELOG.md Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * Update rust/operator-binary/src/crd/database.rs Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * fix: rename druid-crendentials -> druid-postgres-credentials * Add testdata for DruidClusterSpec * cargo update * Fix compilation * Use op-rs from main * Fix tests --------- Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.tech> Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
1 parent 261c1e0 commit 2925987

45 files changed

Lines changed: 672 additions & 906 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@ All notable changes to this project will be documented in this file.
1212
### Changed
1313

1414
- BREAKING: `configOverrides` now only accepts the supported config file names `runtime.properties`, `jvm.config` and `security.properties`. Previously arbitrary keys were silently accepted but ignored ([#813]).
15-
- Bump `stackable-operator` to 0.110.1 and `kube` to 3.1.0 ([#813]).
15+
- BREAKING: Implement generic database connection for metadata storage ([#814]).
16+
The `.clusterConfig.metadataStorageDatabase` has subfields according to the supported db types: `postgresql`, `mysql` and `derby`.
17+
- BREAKING: The `.clusterConfig.metadataStorageDatabase` field has been renamed to `.clusterConfig.metadataDatabase` for consistency ([#814]).
1618
- Document Helm deployed RBAC permissions and remove unnecessary permissions ([#810]).
1719

20+
### Deleted
21+
22+
- Removed all metadata storage related properties from product config ([#814]).
23+
1824
[#810]: https://github.com/stackabletech/druid-operator/pull/810
1925
[#813]: https://github.com/stackabletech/druid-operator/pull/813
26+
[#814]: https://github.com/stackabletech/druid-operator/pull/814
2027
[#818]: https://github.com/stackabletech/druid-operator/pull/818
2128

2229
## [26.3.0] - 2026-03-16

Cargo.lock

Lines changed: 74 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)