Skip to content

Commit

Permalink
Bump kube to 0.70.0. Release 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Mar 21, 2022
1 parent 1dba85c commit 95bdf48
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [0.15.0] - 2022.03.21

### Added

- Common `OpaConfig` to specify a config map and package name ([#357]).

### Changed

- Split up the builder module into submodules. This is not breaking yet due to reexports. Deprecation warning has been added for `operator-rs` `0.15.0` ([#348]).
- Update to `kube` `0.70.0` /~https://github.com/kube-rs/kube-rs/releases/tag/0.70.0. The signature and the Ok action in reconcile fns has been simplified slightly. The signature of `report_controller_reconciled` had to be changed slightly ([#359]).

[#348]: /~https://github.com/stackabletech/operator-rs/pull/348
[#357]: /~https://github.com/stackabletech/operator-rs/pull/357
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Stackable Operator Framework"
edition = "2021"
license = "Apache-2.0"
name = "stackable-operator"
version = "0.14.1"
version = "0.15.0"
repository = "/~https://github.com/stackabletech/operator-rs"

[dependencies]
Expand All @@ -15,7 +15,7 @@ either = "1.6.1"
futures = "0.3.19"
json-patch = "0.2.6"
k8s-openapi = { version = "0.14.0", default-features = false, features = ["schemars", "v1_23"] }
kube = { version = "0.69.1", features = ["jsonpatch", "runtime", "derive"] }
kube = { version = "0.70.0", features = ["jsonpatch", "runtime", "derive"] }
lazy_static = "1.4.0"
product-config = { git = "/~https://github.com/stackabletech/product-config.git", tag = "0.3.1" }
rand = "0.8.4"
Expand Down
4 changes: 2 additions & 2 deletions src/logging/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::error::Error;
use kube::{
core::DynamicObject,
runtime::{
controller::{self, ReconcilerAction},
controller::{self, Action},
reflector::ObjectRef,
},
Resource,
Expand Down Expand Up @@ -46,7 +46,7 @@ pub trait ReconcilerError: Error {
pub fn report_controller_reconciled<K, ReconcileErr, QueueErr>(
client: &Client,
controller_name: &str,
result: &Result<(ObjectRef<K>, ReconcilerAction), controller::Error<ReconcileErr, QueueErr>>,
result: &Result<(ObjectRef<K>, Action), controller::Error<ReconcileErr, QueueErr>>,
) where
K: Resource,
ReconcileErr: ReconcilerError,
Expand Down

0 comments on commit 95bdf48

Please sign in to comment.