Skip to content

Commit 1d56e60

Browse files
Malewaresbernauer
andauthored
feat: Add constants for configOverrides file header and footer keys (#843)
* Introduce pub consts for file_header and file_footerw * Rename conts * Moving vars to more appropriate place * Better Var names * Changelog * changelog --------- Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent 79252b2 commit 1d56e60

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

crates/stackable-operator/CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7-
- BREAKING: Replace `lazy_static` with `std::cell::LazyCell` (the original implementation was done in [#827] and reverted in [#835]) ([#840]).
8-
97
### Added
108

119
- `iter::reverse_if` helper ([#838]).
10+
- Add two new constants `CONFIG_OVERRIDE_FILE_HEADER_KEY` and `CONFIG_OVERRIDE_FILE_FOOTER_KEY` ([#843]).
11+
12+
### Changed
13+
14+
- BREAKING: Replace `lazy_static` with `std::cell::LazyCell` (the original implementation was done in [#827] and reverted in [#835]) ([#840]).
1215

1316
[#838]: https://github.com/stackabletech/operator-rs/pull/838
17+
[#843]: https://github.com/stackabletech/operator-rs/pull/843
1418

1519
## [0.73.0] - 2024-08-09
1620

crates/stackable-operator/src/product_config_utils.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ use tracing::{debug, error, warn};
88

99
use crate::role_utils::{CommonConfiguration, Role};
1010

11+
pub const CONFIG_OVERRIDE_FILE_HEADER_KEY: &str = "EXPERIMENTAL_FILE_HEADER";
12+
pub const CONFIG_OVERRIDE_FILE_FOOTER_KEY: &str = "EXPERIMENTAL_FILE_FOOTER";
13+
1114
type Result<T, E = Error> = std::result::Result<T, E>;
1215

1316
#[derive(Debug, PartialEq, Snafu)]

0 commit comments

Comments
 (0)