Skip to content

Commit 7da8744

Browse files
adwk67sbernauer
andauthored
feat: Add generic database connection mechanism (#722)
* implement changes according to airflow pattern, where appropriate * added credentialsSecretName back as it is still in product config * changelog, rbac * add the replica change back in * Apply suggestions from code review Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * Update rust/operator-binary/src/superset_controller.rs Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * review changes * extend changelog, use helper function * remove credentials secret from product config * replace eval with os.path.expandvars * Update CHANGELOG.md Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> --------- Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
1 parent 6c93c4b commit 7da8744

35 files changed

Lines changed: 620 additions & 325 deletions

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,18 @@
99
- Bump `stackable-operator` to 0.110.0 and `kube` to 3.1.0 ([#719]).
1010
- Support setting `clientAuthenticationMethod` for OIDC authentication. The value is passed through to the Flask-AppBuilder config as `token_endpoint_auth_method` ([#719]).
1111
- BREAKING: Rename `EXPERIMENTAL_FILE_HEADER` and `EXPERIMENTAL_FILE_FOOTER` in `superset_config.py` for arbitrary Python code to `FILE_HEADER` and `FILE_FOOTER` ([#719], [#721]).
12+
- Use an internal Secret for the Superset `SECRET_KEY`.
13+
Going forward, the operator will automatically create the Secret in case it doesn't exist ([#722]).
14+
- BREAKING: The `.clusterConfig.credentialsSecret` field has been renamed to `.clusterConfig.credentialsSecretName` for consistency ([#722]).
15+
- BREAKING: Implement generic database connection.
16+
This means you need to replace your simple database connection string with a typed struct.
17+
This struct is consistent between different CRDs, so that you can easily copy/paste it between stacklets.
18+
More information can be found in the [Superset database documentation](https://docs.stackable.tech/home/nightly/superset/usage-guide/database-connections) for details ([#722]).
1219

1320
[#717]: https://github.com/stackabletech/superset-operator/pull/717
1421
[#719]: https://github.com/stackabletech/superset-operator/pull/719
1522
[#721]: https://github.com/stackabletech/superset-operator/pull/721
23+
[#722]: https://github.com/stackabletech/superset-operator/pull/722
1624

1725
## [26.3.0] - 2026-03-16
1826

Cargo.lock

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

0 commit comments

Comments
 (0)