Skip to content

Commit a41f468

Browse files
committed
chore: Bump to stackable-operator 0.106.1
1 parent 3221bc4 commit a41f468

12 files changed

Lines changed: 2544 additions & 1983 deletions

File tree

Cargo.lock

Lines changed: 726 additions & 544 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 1778 additions & 1396 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,27 @@ edition = "2021"
1111
repository = "https://github.com/stackabletech/secret-operator"
1212

1313
[workspace.dependencies]
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.105.0", features = ["time", "telemetry", "versioned", "webhook"] }
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.106.1", features = ["time", "telemetry", "versioned", "webhook"] }
1515
krb5 = { git = "https://github.com/stackabletech/krb5-rs.git", tag = "v0.1.0" }
1616

1717
anyhow = "1.0"
1818
async-trait = "0.1"
1919
built = { version = "0.8", features = ["chrono", "git2"] }
2020
byteorder = "1.5"
21+
chrono = "0.4"
2122
clap = "4.5"
2223
const_format = "0.2.34"
2324
futures = { version = "0.3", features = ["compat"] }
2425
h2 = "0.4"
2526
hex = "0.4"
26-
# This version needs to match the kube version that is re-exported by stackable-operator!
27-
kube-runtime = { git = "https://github.com/stackabletech/kube-rs", branch = "2.0.1-fix-schema-hoisting", version = "=2.0.1", features = ["unstable-runtime-stream-control"] }
27+
# We can't use the stackable-operator re-export because we need the special "unstable-runtime-stream-control"
28+
# feature. We don't want to enable it in stackable-operator, as we don't want to accidentally use
29+
# unstable features.
30+
# This version needs to match the kube version that is re-exported by stackable-operator, so that
31+
# the feature unification works!
32+
kube-runtime = { git = "https://github.com/kube-rs/kube-rs", rev = "fe69cc486ff8e62a7da61d64ec3ebbd9e64c43b5", default-features = false, features = ["unstable-runtime-stream-control"] }
33+
# Hopefully soon we can switch to
34+
# kube-runtime = { version = "*", default-features = false, features = ["unstable-runtime-stream-control"] }
2835
ldap3 = { version = "0.11", default-features = false, features = ["gssapi", "tls"] }
2936
libc = "0.2"
3037
native-tls = "0.2"

crate-hashes.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extra/crds.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,7 @@ spec:
901901
- tls-pem
902902
- tls-pkcs12
903903
- kerberos
904+
- null
904905
nullable: true
905906
type: string
906907
secretClassName:

rust/operator-binary/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ p12 = { path = "../p12" }
1515

1616
anyhow.workspace = true
1717
async-trait.workspace = true
18+
chrono.workspace = true
1819
clap.workspace = true
1920
futures.workspace = true
2021
h2.workspace = true
22+
# We don't directly use this crate, we declare it here to use feature unification
2123
kube-runtime.workspace = true
2224
libc.workspace = true
2325
openssl.workspace = true

rust/operator-binary/src/backend/k8s_search.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
use std::collections::{BTreeMap, HashSet};
44

55
use async_trait::async_trait;
6-
use kube_runtime::reflector::ObjectRef;
76
use snafu::{OptionExt, ResultExt, Snafu};
87
use stackable_operator::{
98
k8s_openapi::{
109
ByteString,
1110
api::core::v1::{ConfigMap, Secret},
1211
apimachinery::pkg::apis::meta::v1::LabelSelector,
1312
},
14-
kube::api::ListParams,
13+
kube::{api::ListParams, runtime::reflector::ObjectRef},
1514
kvp::{LabelError, LabelSelectorExt, Labels},
1615
};
1716

rust/operator-binary/src/backend/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@ use std::{collections::HashSet, convert::Infallible, fmt::Debug};
1212

1313
use async_trait::async_trait;
1414
pub use cert_manager::CertManager;
15+
use chrono::{DateTime, FixedOffset};
1516
pub use k8s_search::K8sSearch;
1617
pub use kerberos_keytab::KerberosKeytab;
17-
use kube_runtime::reflector::ObjectRef;
1818
use pod_info::Address;
1919
use scope::SecretScope;
2020
use serde::{Deserialize, Deserializer, Serialize, de::Unexpected};
2121
use snafu::{OptionExt, Snafu};
2222
use stackable_operator::{
2323
crd::listener,
24-
k8s_openapi::chrono::{DateTime, FixedOffset},
25-
kube::api::DynamicObject,
24+
kube::{api::DynamicObject, runtime::reflector::ObjectRef},
2625
shared::time::Duration,
2726
};
2827
pub use tls::TlsGenerate;

rust/operator-binary/src/backend/pod_info.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ use std::{
66
};
77

88
use futures::{StreamExt, TryStreamExt};
9-
use kube_runtime::reflector::Lookup;
109
use snafu::{OptionExt, ResultExt, Snafu};
1110
use stackable_operator::{
1211
commons::networking::DomainName,
1312
crd::listener,
1413
k8s_openapi::api::core::v1::{Node, PersistentVolumeClaim, Pod},
15-
kube::runtime::reflector::ObjectRef,
14+
kube::runtime::reflector::{Lookup, ObjectRef},
1615
};
1716

1817
use super::scope::SecretScope;

rust/operator-binary/src/backend/tls/ca.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
use std::{collections::BTreeMap, ffi::OsStr, fmt::Display, path::Path};
44

5-
use kube_runtime::reflector::Lookup;
65
use openssl::{
76
asn1::{Asn1Integer, Asn1Time},
87
bn::{BigNum, MsbOption},
@@ -28,7 +27,7 @@ use stackable_operator::{
2827
DynamicObject, PostParams,
2928
entry::{self, Entry},
3029
},
31-
runtime::reflector::ObjectRef,
30+
runtime::reflector::{Lookup, ObjectRef},
3231
},
3332
shared::time::Duration,
3433
};
@@ -673,7 +672,6 @@ impl Manager {
673672

674673
#[cfg(test)]
675674
mod tests {
676-
use kube_runtime::reflector::ObjectRef;
677675
use openssl::{
678676
asn1::{Asn1Integer, Asn1Time},
679677
bn::BigNum,
@@ -684,6 +682,7 @@ mod tests {
684682
};
685683
use stackable_operator::{
686684
k8s_openapi::{ByteString, api::core::v1::Secret},
685+
kube::runtime::reflector::ObjectRef,
687686
shared::time::Duration,
688687
};
689688
use stackable_secret_operator_utils::crd::SecretReference;

0 commit comments

Comments
 (0)