@@ -165,7 +165,7 @@ pub enum Command<Run: Args = ProductOperatorRun> {
165
165
/// ```rust
166
166
/// # use stackable_operator::cli::{Command, ProductOperatorRun, ProductConfigPath};
167
167
/// use clap::Parser;
168
- /// use stackable_operator::namespace::WatchNamespace;
168
+ /// use stackable_operator::{ namespace::WatchNamespace, utils::cluster_info::KubernetesClusterInfoOpts} ;
169
169
/// use stackable_telemetry::tracing::TelemetryOptions;
170
170
///
171
171
/// #[derive(clap::Parser, Debug, PartialEq, Eq)]
@@ -176,14 +176,17 @@ pub enum Command<Run: Args = ProductOperatorRun> {
176
176
/// common: ProductOperatorRun,
177
177
/// }
178
178
///
179
- /// let opts = Command::<Run>::parse_from(["foobar-operator", "run", "--name", "foo", "--product-config", "bar", "--watch-namespace", "foobar"]);
179
+ /// let opts = Command::<Run>::parse_from(["foobar-operator", "run", "--name", "foo", "--product-config", "bar", "--watch-namespace", "foobar", "--kubernetes-node-name", "baz" ]);
180
180
/// assert_eq!(opts, Command::Run(Run {
181
181
/// name: "foo".to_string(),
182
182
/// common: ProductOperatorRun {
183
183
/// product_config: ProductConfigPath::from("bar".as_ref()),
184
184
/// watch_namespace: WatchNamespace::One("foobar".to_string()),
185
185
/// telemetry_arguments: TelemetryOptions::default(),
186
- /// cluster_info_opts: Default::default(),
186
+ /// cluster_info_opts: KubernetesClusterInfoOpts {
187
+ /// kubernetes_cluster_domain: None,
188
+ /// kubernetes_node_name: "baz".to_string(),
189
+ /// },
187
190
/// },
188
191
/// }));
189
192
/// ```
0 commit comments