From a3e8ff4475eab95c2a13409e517ee397fa107d08 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Thu, 5 Oct 2023 16:01:04 +0200 Subject: [PATCH] bump: operator-rs 0.52.1 --- CHANGELOG.md | 2 +- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- deploy/helm/hive-operator/crds/crds.yaml | 13 +++---------- 4 files changed, 9 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74403b5d..05eaa626 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ All notable changes to this project will be documented in this file. ### Changed - `vector` `0.26.0` -> `0.31.0` ([#361]). -- `operator-rs` `0.44.0` -> `0.52.0` ([#360], [#376]). +- `operator-rs` `0.44.0` -> `0.52.1` ([#360], [#376]). [#360]: https://github.com/stackabletech/hive-operator/pull/360 [#361]: https://github.com/stackabletech/hive-operator/pull/361 diff --git a/Cargo.lock b/Cargo.lock index 15fbe266..f7e93877 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1874,8 +1874,8 @@ dependencies = [ [[package]] name = "stackable-operator" -version = "0.52.0" -source = "git+https://github.com/stackabletech/operator-rs.git?tag=0.52.0#a6fdaf82c13d24765bf217a3a35b53683fc02fdc" +version = "0.52.1" +source = "git+https://github.com/stackabletech/operator-rs.git?tag=0.52.1#18af9be0473cd6c30d7426e9ade74c90e4abce22" dependencies = [ "chrono", "clap", @@ -1908,8 +1908,8 @@ dependencies = [ [[package]] name = "stackable-operator-derive" -version = "0.52.0" -source = "git+https://github.com/stackabletech/operator-rs.git?tag=0.52.0#a6fdaf82c13d24765bf217a3a35b53683fc02fdc" +version = "0.52.1" +source = "git+https://github.com/stackabletech/operator-rs.git?tag=0.52.1#18af9be0473cd6c30d7426e9ade74c90e4abce22" dependencies = [ "darling 0.20.3", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index d5789118..019dad7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_yaml = "0.9" snafu = "0.7" -stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.52.0" } +stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.52.1" } strum = { version = "0.25", features = ["derive"] } tokio = { version = "1.29", features = ["full"] } tracing = "0.1" diff --git a/deploy/helm/hive-operator/crds/crds.yaml b/deploy/helm/hive-operator/crds/crds.yaml index 4b5ca8e1..0bbf3c77 100644 --- a/deploy/helm/hive-operator/crds/crds.yaml +++ b/deploy/helm/hive-operator/crds/crds.yaml @@ -242,12 +242,7 @@ spec: type: string type: object metastore: - description: |- - This struct represents a role - e.g. HDFS datanodes or Trino workers. It has a [`HashMap`] containing all the roleGroups that are part of this role. Additionally, there is a `config`, which is configurable at the role *and* roleGroup level. Everything at roleGroup level is merged on top of what is configured on role level using the [`Merge`] trait. There is also a second form of config, which can only be configured at role level, the `roleConfig`. - - `T` here is the `config` shared between role and roleGroup. - - `U` here is the `roleConfig` only available on the role. It defaults to [`GenericRoleConfig`], as this is sufficient for most products. There are some exceptions, where e.g. [`EmptyRoleConfig`] is used. However, product-operators can define their own - custom - struct and use that here. + description: This struct represents a role - e.g. HDFS datanodes or Trino workers. It has a [`HashMap`] containing all the roleGroups that are part of this role. Additionally, there is a `config`, which is configurable at the role *and* roleGroup level. Everything at roleGroup level is merged on top of what is configured on role level using the [`Merge`] trait. There is also a second form of config, which can only be configured at role level, the `roleConfig`. nullable: true properties: cliOverrides: @@ -3706,15 +3701,13 @@ spec: podDisruptionBudget: enabled: true maxUnavailable: null - description: |- - This is a product-agnostic RoleConfig, which fulfills the needs for most of the product. Currently it contains: - - 1. `podDisruptionBudget` to configure the created PDBs. + description: This is a product-agnostic RoleConfig, which is sufficient for most of the products. properties: podDisruptionBudget: default: enabled: true maxUnavailable: null + description: 'This struct is used to configure: 1.) If PodDisruptionBudgets are created by the operator 2.) The allowed number of Pods to be unavailable (`maxUnavailable`)' properties: enabled: default: true