Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions crates/stackable-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ All notable changes to this project will be documented in this file.
### Changed

- Replace serde_yaml with yaml_serde ([#1298]).
- BREAKING: The Vector container created by `v2::product_logging::framework::vector_container` now
starts Vector with the wrapper script `/stackable/bin/vector-with-env-var-interpolation` instead
of calling `vector` directly ([#1299]).
Vector 0.57.0 disabled the interpolation of environment variables in configuration files by
default, while the generated `vector.yaml` uses `${...}` placeholders for the log directory and
file names, the log levels, the role group the Pod belongs to, and the address of the Vector
aggregator. The wrapper script re-enables the interpolation by passing
`--dangerously-allow-env-var-interpolation` to Vector. The product image must contain this script,
which is the case for images with Vector 0.58.0 or later.

[#1298]: https://github.com/stackabletech/operator-rs/pull/1298
[#1299]: https://github.com/stackabletech/operator-rs/pull/1299

## [0.120.0] - 2026-10-12

Expand Down
4 changes: 2 additions & 2 deletions crates/stackable-operator/src/v2/product_logging/framework.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub fn vector_container(
.args(vec![format!(
"mkdir --parents {STACKABLE_LOG_DIR}/{VECTOR_STATE_DIR}\n\
# Vector will ignore SIGTERM (as PID != 1) and must be shut down by writing a shutdown trigger file\n\
vector & vector_pid=$!\n\
/stackable/bin/vector-with-env-var-interpolation & vector_pid=$!\n\
if [ ! -f \"{vector_control_directory}/{SHUTDOWN_FILE}\" ]; then\n\
mkdir -p {vector_control_directory}\n\
inotifywait -qq --event create {vector_control_directory};\n\
Expand Down Expand Up @@ -415,7 +415,7 @@ mod tests {
concat!(
"mkdir --parents /stackable/log/_vector-state\n",
"# Vector will ignore SIGTERM (as PID != 1) and must be shut down by writing a shutdown trigger file\n",
"vector & vector_pid=$!\n",
"/stackable/bin/vector-with-env-var-interpolation & vector_pid=$!\n",
"if [ ! -f \"/stackable/log/_vector/shutdown\" ]; then\n",
"mkdir -p /stackable/log/_vector\n",
"inotifywait -qq --event create /stackable/log/_vector;\n",
Expand Down
Loading