Skip to content
Closed
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ All notable changes to this project will be documented in this file.
### Changed

- Disable Vector agent by default ([#526]).
- Bump kube to 0.78.0 and k8s-openapi to 0.17.0. Bump k8s version from 1.24 to 1.26 ([#533]).

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

## [0.30.1] - 2022-12-19

Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ clap = { version = "4.0.29", features = ["derive", "cargo", "env"] }
const_format = "0.2.30"
either = "1.8.0"
futures = "0.3.25"
json-patch = "0.2.6"
k8s-openapi = { version = "0.16.0", default-features = false, features = ["schemars", "v1_24"] }
kube = { version = "0.76.0", features = ["jsonpatch", "runtime", "derive"] }
json-patch = "0.3.0"
k8s-openapi = { version = "0.17.0", default-features = false, features = ["schemars", "v1_26"] }
kube = { version = "0.78.0", features = ["jsonpatch", "runtime", "derive"] }
lazy_static = "1.4.0"
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.4.0" }
rand = "0.8.5"
Expand Down
1 change: 1 addition & 0 deletions src/builder/pod/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ mod tests {
]
.into(),
),
..ResourceRequirements::default()
};

let container = ContainerBuilder::new("testcontainer")
Expand Down
4 changes: 4 additions & 0 deletions src/commons/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ impl<T, K> Into<ResourceRequirements> for Resources<T, K> {
} else {
Some(requests)
},
// Dynamic resource allocation by using resourceClaims was added as *alpha* feature in Kubernetes 1.26.
// We might want to support it after a while, but currently all the customers would need to active
// the `DynamicResourceAllocation` feature gate.
claims: None,
}
}
}
Expand Down