Skip to content

Commit 3d80603

Browse files
committed
straightened up crd docs
1 parent 0649973 commit 3d80603

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

  • deploy/helm/airflow-operator/crds
  • rust/operator-binary/src/crd

deploy/helm/airflow-operator/crds/crds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,11 +594,11 @@ spec:
594594
databaseInitialization:
595595
default:
596596
enabled: true
597-
description: 'Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be (techincally) backwards-compatible but also safe. WARNING: setting this to false is *unsupported* as subsequent updates to the Airflow cluster may result in broken behaviour due to inconsistent metadata! Do not change the default unless you know what you are doing!'
597+
description: Settings related to the database initialization routines (which are always executed by default).
598598
properties:
599599
enabled:
600600
default: true
601-
description: Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be backwward compatible.
601+
description: 'Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be (techincally) backwards-compatible but also safe. WARNING: setting this to false is *unsupported* as subsequent updates to the Airflow cluster may result in broken behaviour due to inconsistent metadata! Do not change the default unless you know what you are doing!'
602602
type: boolean
603603
type: object
604604
exposeConfig:

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,7 @@ pub mod versioned {
251251
#[serde(default)]
252252
pub load_examples: bool,
253253

254-
/// Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be (techincally) backwards-compatible but also safe.
255-
/// WARNING: setting this to false is *unsupported* as subsequent updates to the Airflow cluster may result in broken behaviour due to inconsistent metadata!
256-
/// Do not change the default unless you know what you are doing!
254+
/// Settings related to the database initialization routines (which are always executed by default).
257255
#[serde(default)]
258256
pub database_initialization: DatabaseInitializationConfig,
259257

@@ -290,7 +288,9 @@ pub mod versioned {
290288
#[derive(Clone, Debug, Deserialize, JsonSchema, PartialEq, Serialize)]
291289
#[serde(rename_all = "camelCase")]
292290
pub struct DatabaseInitializationConfig {
293-
/// Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be backwward compatible.
291+
/// Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be (techincally) backwards-compatible but also safe.
292+
/// WARNING: setting this to false is *unsupported* as subsequent updates to the Airflow cluster may result in broken behaviour due to inconsistent metadata!
293+
/// Do not change the default unless you know what you are doing!
294294
#[serde(default = "default_db_init")]
295295
pub enabled: bool,
296296
}

0 commit comments

Comments
 (0)