Skip to content

Commit

Permalink
adapt to op-rs 0.79.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maltesander committed Oct 21, 2024
1 parent 45c1e7a commit 9d24f34
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file.

- Make spark-env.sh configurable via `configOverrides` ([#473]).
- The Spark history server can now service logs from HDFS compatible systems ([#479]).
- The operator can now run on Kubernetes clusters using a non-default cluster domain. It should automatically detect the
correct domain to use, but you can also use the env var `KUBERNETES_CLUSTER_DOMAIN` to set the domain explicitly
or use the helm-chart property `kubernetesClusterDomain` ([#xxx]).

### Changed

Expand Down Expand Up @@ -35,6 +38,7 @@ All notable changes to this project will be documented in this file.
[#472]: https://github.com/stackabletech/spark-k8s-operator/pull/472
[#473]: https://github.com/stackabletech/spark-k8s-operator/pull/473
[#479]: https://github.com/stackabletech/spark-k8s-operator/pull/479
[#xxx]: https://github.com/stackabletech/spark-k8s-operator/pull/xxx

## [24.7.0] - 2024-07-24

Expand Down
19 changes: 16 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
snafu = "0.8"
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.78.0" }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.79.0" }
strum = { version = "0.26", features = ["derive"] }
tokio = { version = "1.39", features = ["full"] }
tracing = "0.1"
Expand Down
5 changes: 5 additions & 0 deletions deploy/helm/spark-k8s-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ nodeSelector: {}
tolerations: []

affinity: {}

# When running on a non-default Kubernetes cluster domain and the auto detection is not working correctly,
# you can set your custom cluster domain here.
# See the https://docs.stackable.tech/home/stable/guides/kubernetes-cluster-domain guide for details
# kubernetesClusterDomain: my-cluster.local
3 changes: 2 additions & 1 deletion rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ async fn main() -> anyhow::Result<()> {
);

let client =
stackable_operator::client::create_client(Some(OPERATOR_NAME.to_string())).await?;
stackable_operator::client::initialize_operator(Some(OPERATOR_NAME.to_string()))
.await?;

let ctx = Ctx {
client: client.clone(),
Expand Down

0 comments on commit 9d24f34

Please sign in to comment.