File tree Expand file tree Collapse file tree
rust/operator-binary/src/controller/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11//! Assembles the rolegroup [`ConfigMap`] from the [`ValidatedCluster`], dispatching to the
2- //! per-file builders in [`super::properties`]. The owner object is only used for the owner
3- //! reference and object metadata, never for config content.
2+ //! per-file builders in [`super::properties`].
43
54use snafu:: { ResultExt , Snafu } ;
65use stackable_operator:: {
Original file line number Diff line number Diff line change 11//! Builds the discovery [`ConfigMap`] clients use to connect to an `OpaCluster`.
22//!
33//! The content comes entirely from the [`ValidatedCluster`] (plus the externally-resolved role
4- //! [`Service`] and `cluster_info`); the owner object is only used for the owner reference and
5- //! object metadata.
4+ //! service and `cluster_info`).
65
76use snafu:: { ResultExt , Snafu } ;
87use stackable_operator:: {
Original file line number Diff line number Diff line change 11//! Per-config-file build steps assembled into the rolegroup `ConfigMap`.
2- //!
3- //! Unlike trino/hdfs (which emit several key-value `.properties` / `.xml` files), OPA only emits
4- //! JSON documents, so each builder returns a serialized `String` and there is no key-value
5- //! `writer`. The structure (one module per file + the [`ConfigFileName`] enum) mirrors the other
6- //! operators.
72
83pub mod config_json;
94pub mod logging;
You can’t perform that action at this time.
0 commit comments