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
6 changes: 6 additions & 0 deletions crates/stackable-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Added

- Add `raw_object_schema` to v2 `JsonConfigOverrides` ([#1242]).

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

## [0.113.1] - 2026-07-06

### Added
Expand Down
3 changes: 3 additions & 0 deletions crates/stackable-operator/src/v2/config_overrides.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ where
pub enum JsonConfigOverrides {
/// Can be set to arbitrary YAML content, which is converted to JSON and used as
/// [RFC 7396](https://datatracker.ietf.org/doc/html/rfc7396) JSON merge patch.
#[schemars(schema_with = "raw_object_schema")]
JsonMergePatch(serde_json::Value),

/// An [RFC 6902](https://datatracker.ietf.org/doc/html/rfc6902) JSON patch.
Expand All @@ -92,9 +93,11 @@ pub enum JsonConfigOverrides {
/// or
///
/// `- {"op": "add", "path": "/0/happy", "value": true}`
#[schemars(schema_with = "raw_object_schema")]
JsonPatch(json_patch::Patch),

/// Override the entire config file with the specified JSON value.
#[schemars(schema_with = "raw_object_schema")]
UserProvided(serde_json::Value),

/// Sequence of [`JsonConfigOverrides`] starting with the latest patch
Expand Down