Skip to content

Commit 5c2d98b

Browse files
committed
chore: BUmp Rust dependencies
1 parent 58b1c66 commit 5c2d98b

10 files changed

Lines changed: 817 additions & 370 deletions

File tree

Cargo.lock

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

Cargo.nix

Lines changed: 558 additions & 217 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
@@ -10,7 +10,7 @@ edition = "2024"
1010
repository = "https://github.com/stackabletech/spark-k8s-operator"
1111

1212
[workspace.dependencies]
13-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.112.0", features = ["webhook"] }
13+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.113.3", features = ["webhook"] }
1414

1515
anyhow = "1.0.103"
1616
built = { version = "0.8", features = ["chrono", "git2"] }

crate-hashes.json

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

extra/crds.yaml

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
name: v1alpha1
1919
schema:
2020
openAPIV3Schema:
21-
description: Auto-generated derived type for SparkApplicationSpec via `CustomResource`
21+
description: A Spark application run on Kubernetes by the Stackable operator for Apache Spark.
2222
properties:
2323
spec:
2424
description: |-
@@ -1848,7 +1848,7 @@ spec:
18481848
type: array
18491849
type: object
18501850
secretClass:
1851-
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.'
1851+
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing the requested secrets.'
18521852
type: string
18531853
required:
18541854
- secretClass
@@ -2026,7 +2026,7 @@ spec:
20262026
type: array
20272027
type: object
20282028
secretClass:
2029-
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.'
2029+
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing the requested secrets.'
20302030
type: string
20312031
required:
20322032
- secretClass
@@ -2250,7 +2250,7 @@ spec:
22502250
name: v1alpha1
22512251
schema:
22522252
openAPIV3Schema:
2253-
description: Auto-generated derived type for SparkHistoryServerSpec via `CustomResource`
2253+
description: A Spark history server component. This resource is managed by the Stackable operator for Apache Spark.
22542254
properties:
22552255
spec:
22562256
description: |-
@@ -2416,7 +2416,7 @@ spec:
24162416
type: array
24172417
type: object
24182418
secretClass:
2419-
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.'
2419+
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing the requested secrets.'
24202420
type: string
24212421
required:
24222422
- secretClass
@@ -3290,6 +3290,21 @@ spec:
32903290
nullable: true
32913291
type: integer
32923292
type: object
3293+
description: |-
3294+
The set of role groups for this role, keyed by their name.
3295+
3296+
A role group is a subset of the replicas of a role that share the same configuration,
3297+
allowing finer-grained control than the role level. This is useful to e.g. schedule groups
3298+
onto different classes of nodes or into different regions, or to run them with different
3299+
settings. Configuration set on a role group is merged on top of the role-level `config`,
3300+
with the more specific role group values taking precedence.
3301+
3302+
Every role needs at least one role group. A role with a single role group conventionally
3303+
names it `default`.
3304+
3305+
Read the
3306+
[roles and role groups concept documentation](https://docs.stackable.tech/home/nightly/concepts/roles-and-role-groups)
3307+
for more details.
32933308
type: object
32943309
required:
32953310
- roleGroups
@@ -3355,7 +3370,7 @@ spec:
33553370
name: v1alpha1
33563371
schema:
33573372
openAPIV3Schema:
3358-
description: Auto-generated derived type for SparkConnectServerSpec via `CustomResource`
3373+
description: An Apache Spark Connect server component. This resource is managed by the Stackable operator for Apache Spark.
33593374
properties:
33603375
spec:
33613376
description: |-
@@ -3485,7 +3500,7 @@ spec:
34853500
type: array
34863501
type: object
34873502
secretClass:
3488-
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.'
3503+
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing the requested secrets.'
34893504
type: string
34903505
required:
34913506
- secretClass
@@ -3641,7 +3656,7 @@ spec:
36413656
type: array
36423657
type: object
36433658
secretClass:
3644-
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.'
3659+
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing the requested secrets.'
36453660
type: string
36463661
required:
36473662
- secretClass
@@ -4612,7 +4627,7 @@ spec:
46124627
name: v1alpha1
46134628
schema:
46144629
openAPIV3Schema:
4615-
description: Auto-generated derived type for SparkApplicationTemplateSpec via `CustomResource`
4630+
description: A Spark application template. This resource is managed by the Stackable operator for Apache Spark.
46164631
properties:
46174632
spec:
46184633
description: |-
@@ -6439,7 +6454,7 @@ spec:
64396454
type: array
64406455
type: object
64416456
secretClass:
6442-
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.'
6457+
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing the requested secrets.'
64436458
type: string
64446459
required:
64456460
- secretClass
@@ -6617,7 +6632,7 @@ spec:
66176632
type: array
66186633
type: object
66196634
secretClass:
6620-
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.'
6635+
description: '[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing the requested secrets.'
66216636
type: string
66226637
required:
66236638
- secretClass

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ pub mod versioned {
9494
/// for Apache Spark. Find more information on how to use it in the
9595
/// [operator documentation](DOCS_BASE_URL_PLACEHOLDER/spark-k8s/usage-guide/connect-server).
9696
#[versioned(crd(
97+
doc = "An Apache Spark Connect server component. This resource is managed by the Stackable operator for Apache Spark.",
9798
group = "spark.stackable.tech",
9899
plural = "sparkconnectservers",
99100
shortname = "sparkconnect",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ pub mod versioned {
6565
/// for Apache Spark. Find more information on how to use it in the
6666
/// [operator documentation](DOCS_BASE_URL_PLACEHOLDER/spark-k8s/usage-guide/history-server).
6767
#[versioned(crd(
68+
doc = "A Spark history server component. This resource is managed by the Stackable operator for Apache Spark.",
6869
group = "spark.stackable.tech",
6970
shortname = "sparkhist",
7071
shortname = "sparkhistory",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ pub mod versioned {
160160
/// The SparkApplication CRD looks a little different than the CRDs of the other products on the
161161
/// Stackable Data Platform.
162162
#[versioned(crd(
163+
doc = "A Spark application run on Kubernetes by the Stackable operator for Apache Spark.",
163164
group = "spark.stackable.tech",
164165
shortname = "sparkapp",
165166
status = "SparkApplicationStatus",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ pub mod versioned {
6565
/// Find more information on how to use it and the resources that the operator generates in the
6666
/// [operator documentation](DOCS_BASE_URL_PLACEHOLDER/spark-k8s/).
6767
#[versioned(crd(
68+
doc = "A Spark application template. This resource is managed by the Stackable operator for Apache Spark.",
6869
group = "spark.stackable.tech",
6970
plural = "sparkapptemplates",
7071
shortname = "sparkapptemplate",

rust/operator-binary/src/spark_k8s_controller/build/resource/serviceaccount.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub(crate) fn build_spark_role_serviceaccount(
2727
let binding = RoleBinding {
2828
metadata: validated.object_meta(binding_name, "role-binding").build(),
2929
role_ref: RoleRef {
30-
api_group: ClusterRole::GROUP.to_string(),
30+
api_group: Some(ClusterRole::GROUP.to_string()),
3131
kind: ClusterRole::KIND.to_string(),
3232
name: SPARK_CLUSTER_ROLE.to_string(),
3333
},

0 commit comments

Comments
 (0)