Skip to content

Commit 6a3b941

Browse files
committed
improve crd comment
1 parent 1e82f62 commit 6a3b941

File tree

2 files changed

+4
-2
lines changed
  • deploy/helm/spark-k8s-operator/crds
  • rust/operator-binary/src/connect

2 files changed

+4
-2
lines changed

deploy/helm/spark-k8s-operator/crds/crds.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2334,10 +2334,11 @@ spec:
23342334
role_config:
23352335
default:
23362336
listener_class: cluster-internal
2337+
description: Global role config settings for the Spark Connect Server.
23372338
properties:
23382339
listener_class:
23392340
default: cluster-internal
2340-
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose the Spark services.
2341+
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose the Spark Connect services.
23412342
type: string
23422343
type: object
23432344
type: object

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ pub mod versioned {
114114
/// Global role config settings for the Spark Connect Server.
115115
#[derive(Clone, Debug, JsonSchema, PartialEq, Serialize, Deserialize)]
116116
pub struct SparkConnectServerRoleConfig {
117-
/// This field controls which [ListenerClass](DOCS_BASE_URL_PLACEHOLDER/listener-operator/listenerclass.html) is used to expose the Spark services.
117+
/// This field controls which [ListenerClass](DOCS_BASE_URL_PLACEHOLDER/listener-operator/listenerclass.html)
118+
/// is used to expose the Spark Connect services.
118119
#[serde(default = "default_listener_class")]
119120
pub listener_class: String,
120121
}

0 commit comments

Comments
 (0)