Skip to content

Commit b845605

Browse files
committed
adapt to op-rs 0.79.0
1 parent 858e3fa commit b845605

File tree

5 files changed

+30
-5
lines changed

5 files changed

+30
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- The operator can now run on Kubernetes clusters using a non-default cluster domain. It should automatically detect the
10+
correct domain to use, but you can also use the env var `KUBERNETES_CLUSTER_DOMAIN` to set the domain explicitly
11+
or use the helm-chart property `kubernetesClusterDomain` ([#xxx]).
12+
713
### Changed
814

915
- BREAKING: Bump `stackable-operator` to 0.78.0 which includes a new `AuthenticationClassProvider` member for Kerberos. This will need to be considered when validating authentication providers ([#285]).
@@ -14,6 +20,7 @@ All notable changes to this project will be documented in this file.
1420

1521
[#283]: https://github.com/stackabletech/commons-operator/pull/283
1622
[#285]: https://github.com/stackabletech/commons-operator/pull/285
23+
[#xxx]: https://github.com/stackabletech/commons-operator/pull/xxx
1724

1825
## [24.7.0] - 2024-07-24
1926

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ futures = { version = "0.3", features = ["compat"] }
1717
serde = { version = "1.0", features = ["derive"] }
1818
serde_json = "1.0"
1919
snafu = "0.8"
20-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.78.0" }
20+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.79.0" }
2121
strum = { version = "0.26", features = ["derive"] }
2222
tokio = { version = "1.40", features = ["full"] }
2323
tracing = "0.1"

deploy/helm/commons-operator/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ nodeSelector: {}
4141
tolerations: []
4242

4343
affinity: {}
44+
45+
# When running on a non-default Kubernetes cluster domain and the auto detection is not working correctly,
46+
# you can set your custom cluster domain here.
47+
# See the https://docs.stackable.tech/home/stable/guides/kubernetes-cluster-domain guide for details
48+
# kubernetesClusterDomain: my-cluster.local

rust/operator-binary/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async fn main() -> anyhow::Result<()> {
5151
built_info::RUSTC_VERSION,
5252
);
5353

54-
let client = stackable_operator::client::create_client(Some(
54+
let client = stackable_operator::client::initialize_operator(Some(
5555
"commons.stackable.tech".to_string(),
5656
))
5757
.await?;

0 commit comments

Comments
 (0)