Skip to content

Generic Database connection design #238

Open
stackabletech/documentation
#321
@sbernauer

Description

@sbernauer

We want a generic way of for database connections like mysql, postgres, mongodb

This is done when

### Tasks
- [ ] https://github.com/stackabletech/documentation/pull/321
- [ ] https://github.com/stackabletech/druid-operator/issues/352
- [ ] https://github.com/stackabletech/hive-operator/issues/148

Please note that this list only includes the products that currently define the credentials within the Product CRD (which is very bad). There are other operators, which should be adopted to the new connection design as well for consistency.

Current Status

Airflow

  • spec.clusterConfig.credentialsSecret points to a secret
  • The secret contains user / pw credentials as well as Database connection information -> should be split up (ADR: ADR 29: Standardize database connections documentation#321)
  • The secret contains a connections.secretKey that should be created / read by the operator

Druid

HBase

Hadoop HDFS

Hive

Kafka

NiFi

OPA

Spark

Superset

  • spec.clusterConfig.credentialsSecret points to a secret
  • The secret contains user / pw credentials as well as Database connection information -> should be split up
  • The secret contains a connections.secretKey that should be created / read by the operator

Trino

ZooKeeper

These are my findings. I hope this is complete. Does not look as bad or as much as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions