Skip to content

Commit d69ddf6

Browse files
committed
bump to op-rs 0.80.0
1 parent da2ead5 commit d69ddf6

File tree

5 files changed

+87
-51
lines changed

5 files changed

+87
-51
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ All notable changes to this project will be documented in this file.
66

77
### Added
88

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` ([#290]).
9+
- The operator can now run on Kubernetes clusters using a non-default cluster domain.
10+
Use the env var `KUBERNETES_CLUSTER_DOMAIN` or the operator Helm chart property `kubernetesClusterDomain` to set a non-default cluster domain ([#290]).
1211

1312
### Changed
1413

Cargo.lock

Lines changed: 77 additions & 41 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.79.0" }
20+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.80.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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ tolerations: []
4242

4343
affinity: {}
4444

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
45+
# When running on a non-default Kubernetes cluster domain, the cluster domain can be configured here.
46+
# See the https://docs.stackable.tech/home/stable/guides/kubernetes-cluster-domain guide for details.
4847
# kubernetesClusterDomain: my-cluster.local

rust/operator-binary/src/main.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ async fn main() -> anyhow::Result<()> {
3636
product_config: _,
3737
watch_namespace,
3838
tracing_target,
39+
cluster_info_opts,
3940
}) => {
4041
stackable_operator::logging::initialize_logging(
4142
"COMMONS_OPERATOR_LOG",
@@ -51,9 +52,10 @@ async fn main() -> anyhow::Result<()> {
5152
built_info::RUSTC_VERSION,
5253
);
5354

54-
let client = stackable_operator::client::initialize_operator(Some(
55-
"commons.stackable.tech".to_string(),
56-
))
55+
let client = stackable_operator::client::initialize_operator(
56+
Some("commons.stackable.tech".to_string()),
57+
&cluster_info_opts,
58+
)
5759
.await?;
5860

5961
let sts_restart_controller =

0 commit comments

Comments
 (0)