Skip to content

Commit b4a9545

Browse files
committed
chore: Bump stackable-operator to 0.94.0 and update other dependencies
1 parent d8c8345 commit b4a9545

9 files changed

Lines changed: 1232 additions & 1832 deletions

File tree

Cargo.lock

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

Cargo.nix

Lines changed: 794 additions & 1241 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
@@ -11,7 +11,7 @@ repository = "https://github.com/stackabletech/superset-operator"
1111

1212
[workspace.dependencies]
1313
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.7.0" }
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", features = ["telemetry", "versioned"], tag = "stackable-operator-0.93.1" }
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", features = ["telemetry", "versioned"], tag = "stackable-operator-0.94.0" }
1515

1616
anyhow = "1.0"
1717
built = { version = "0.8", features = ["chrono", "git2"] }

crate-hashes.json

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

deploy/helm/superset-operator/crds/crds.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
type: string
4646
extraScopes:
4747
default: []
48-
description: An optional list of extra scopes which get merged with the scopes defined in the `AuthenticationClass`.
48+
description: An optional list of extra scopes which get merged with the scopes defined in the AuthenticationClass
4949
items:
5050
type: string
5151
type: array
@@ -646,11 +646,6 @@ spec:
646646
format: date-time
647647
nullable: true
648648
type: string
649-
lastUpdateTime:
650-
description: The last time this condition was updated.
651-
format: date-time
652-
nullable: true
653-
type: string
654649
message:
655650
description: A human readable message indicating details about the transition.
656651
nullable: true

rust/operator-binary/src/crd/druidconnection.rs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,24 @@ pub enum Error {
1414
}
1515
type Result<T, E = Error> = std::result::Result<T, E>;
1616

17-
#[versioned(version(name = "v1alpha1"))]
17+
#[versioned(
18+
version(name = "v1alpha1"),
19+
crates(
20+
kube_core = "stackable_operator::kube::core",
21+
kube_client = "stackable_operator::kube::client",
22+
k8s_openapi = "stackable_operator::k8s_openapi",
23+
schemars = "stackable_operator::schemars",
24+
versioned = "stackable_operator::versioned"
25+
)
26+
)]
1827
pub mod versioned {
1928
/// The DruidConnection resource can be used to automatically deploy a Druid datasource in Superset.
2029
/// Learn more about it in the [Superset operator usage guide](DOCS_BASE_URL_PLACEHOLDER/superset/usage-guide/connecting-druid).
21-
#[versioned(k8s(
30+
#[versioned(crd(
2231
group = "superset.stackable.tech",
2332
plural = "druidconnections",
2433
status = "v1alpha1::DruidConnectionStatus",
2534
namespaced,
26-
crates(
27-
kube_core = "stackable_operator::kube::core",
28-
k8s_openapi = "stackable_operator::k8s_openapi",
29-
schemars = "stackable_operator::schemars"
30-
)
3135
))]
3236
#[derive(Clone, CustomResource, Debug, Deserialize, Eq, JsonSchema, PartialEq, Serialize)]
3337
#[serde(rename_all = "camelCase")]

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

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,22 +112,26 @@ pub enum SupersetConfigOptions {
112112
AuthOpaCacheTtlInSec,
113113
}
114114

115-
#[versioned(version(name = "v1alpha1"))]
115+
#[versioned(
116+
version(name = "v1alpha1"),
117+
crates(
118+
kube_core = "stackable_operator::kube::core",
119+
kube_client = "stackable_operator::kube::client",
120+
k8s_openapi = "stackable_operator::k8s_openapi",
121+
schemars = "stackable_operator::schemars",
122+
versioned = "stackable_operator::versioned"
123+
)
124+
)]
116125
pub mod versioned {
117126
/// A Superset cluster stacklet. This resource is managed by the Stackable operator for Apache Superset.
118127
/// Find more information on how to use it and the resources that the operator generates in the
119128
/// [operator documentation](DOCS_BASE_URL_PLACEHOLDER/superset/).
120-
#[versioned(k8s(
129+
#[versioned(crd(
121130
group = "superset.stackable.tech",
122131
plural = "supersetclusters",
123132
shortname = "superset",
124133
status = "v1alpha1::SupersetClusterStatus",
125134
namespaced,
126-
crates(
127-
kube_core = "stackable_operator::kube::core",
128-
k8s_openapi = "stackable_operator::k8s_openapi",
129-
schemars = "stackable_operator::schemars"
130-
)
131135
))]
132136
#[derive(Clone, CustomResource, Debug, Deserialize, JsonSchema, PartialEq, Serialize)]
133137
#[serde(rename_all = "camelCase")]

rust/operator-binary/src/main.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// TODO: Look into how to properly resolve `clippy::result_large_err`.
2+
// This will need changes in our and upstream error types.
3+
#![allow(clippy::result_large_err)]
14
use std::sync::Arc;
25

36
use clap::Parser;
@@ -28,8 +31,8 @@ use stackable_operator::{
2831

2932
use crate::{
3033
crd::{
31-
APP_NAME, SupersetCluster,
32-
druidconnection::{self, DruidConnection},
34+
APP_NAME, SupersetCluster, SupersetClusterVersion,
35+
druidconnection::{self, DruidConnection, DruidConnectionVersion},
3336
v1alpha1,
3437
},
3538
druid_connection_controller::DRUID_CONNECTION_FULL_CONTROLLER_NAME,
@@ -68,9 +71,9 @@ async fn main() -> anyhow::Result<()> {
6871
let opts = Opts::parse();
6972
match opts.cmd {
7073
Command::Crd => {
71-
SupersetCluster::merged_crd(SupersetCluster::V1Alpha1)?
74+
SupersetCluster::merged_crd(SupersetClusterVersion::V1Alpha1)?
7275
.print_yaml_schema(built_info::PKG_VERSION, SerializeOptions::default())?;
73-
DruidConnection::merged_crd(DruidConnection::V1Alpha1)?
76+
DruidConnection::merged_crd(DruidConnectionVersion::V1Alpha1)?
7477
.print_yaml_schema(built_info::PKG_VERSION, SerializeOptions::default())?;
7578
}
7679
Command::Run(ProductOperatorRun {

rust/operator-binary/src/superset_controller.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,6 @@ fn build_server_rolegroup_statefulset(
810810
&ListenerReference::ListenerName(group_listener_name),
811811
&unversioned_recommended_labels,
812812
)
813-
.context(BuildListenerVolumeSnafu)?
814813
.build_pvc(LISTENER_VOLUME_NAME.to_owned())
815814
.context(BuildListenerVolumeSnafu)?;
816815
Some(vec![pvc])

0 commit comments

Comments
 (0)