Skip to content

Commit 79cb0b7

Browse files
committed
Use docs from op-rs
1 parent bddd6e9 commit 79cb0b7

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

extra/crds.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ spec:
101101
- derby
102102
properties:
103103
derby:
104-
description: Use an Apache Derby database
104+
description: |-
105+
Connection settings for an embedded [Apache Derby](https://db.apache.org/derby/) database.
106+
107+
Derby is an embedded, file-based Java database engine that requires no separate server process.
108+
It is typically used for development, testing, or as a lightweight metastore backend (e.g. for
109+
Apache Hive).
105110
properties:
106111
location:
107112
description: |-
@@ -116,7 +121,7 @@ spec:
116121
type: object
117122
mysql:
118123
description: |-
119-
Use a MySQL database.
124+
Connection settings for a [MySQL](https://www.mysql.com/) database.
120125
121126
Please note that - due to license issues - we don't ship the mysql driver, you need to add
122127
it it yourself.
@@ -155,7 +160,7 @@ spec:
155160
- host
156161
type: object
157162
postgresql:
158-
description: Use a PostgreSQL database
163+
description: Connection settings for a [PostgreSQL](https://www.postgresql.org/) database.
159164
properties:
160165
credentialsSecret:
161166
description: |-

rust/operator-binary/src/crd/databases.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ use stackable_operator::{
1212
#[derive(Clone, Debug, Deserialize, JsonSchema, PartialEq, Serialize)]
1313
#[serde(rename_all = "camelCase")]
1414
pub enum MetadataDatabaseConnection {
15-
/// Use a PostgreSQL database
15+
// Docs are on the struct
1616
Postgresql(PostgresqlConnection),
1717

18-
/// Use a MySQL database.
18+
/// Connection settings for a [MySQL](https://www.mysql.com/) database.
1919
///
2020
/// Please note that - due to license issues - we don't ship the mysql driver, you need to add
2121
/// it it yourself.
2222
/// See <https://docs.stackable.tech/home/stable/hive/usage-guide/database-driver/> for details.
2323
Mysql(MysqlConnection),
2424

25-
/// Use an Apache Derby database
25+
// Docs are on the struct
2626
Derby(DerbyConnection),
2727
// We don't support generic (yet?), as we need to tell the metastore the `--dbtype` on startup,
2828
// which is not known for generic connection.

0 commit comments

Comments
 (0)