Skip to content

Commit 8618adf

Browse files
committed
Add docs on TemplatingMechanism
1 parent a3d1e6e commit 8618adf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • crates/stackable-operator/src/databases

crates/stackable-operator/src/databases/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ pub enum Error {
2121
Derby { source: databases::derby::Error },
2222
}
2323

24+
/// Templating mechanism to use when substituting env variables.
25+
///
26+
/// Most products consume config files, which are templated using
27+
/// [`config-utils`](https://github.com/stackabletech/config-utils). This is the recommended
28+
/// mechanism, hence it's the default.
29+
///
30+
/// And than there is Airflow, where we configured everything via env variables, so that doesn't
31+
/// work. So we also support using bash env substitution.
2432
#[derive(Copy, Clone, Debug, Default)]
2533
pub enum TemplatingMechanism {
2634
/// Template files using <https://github.com/stackabletech/config-utils>, e.g.

0 commit comments

Comments
 (0)