Skip to content

Commit

Permalink
Bump kube to 0.78.0 and k8s-openapi to 0.17.0. Bump k8s version (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Jan 12, 2023
1 parent 329c7cd commit 404b295
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
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
Expand Up @@ -13,9 +13,9 @@ clap = { version = "4.0.32", 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
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
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

0 comments on commit 404b295

Please sign in to comment.