File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file.
77### Added
88
99- Automatically detect Kubernetes environment (e.g. kind, k3s or IONOS) and choose a sensible [ listener-operator preset] by default ([ #414 ] ).
10- - Support configuring the [ listener-operator preset] using ` --listener-operator-preset ` ([ #414 ] ).
10+ - Support configuring the [ listener-operator preset] using ` --listener-class-presets ` ([ #414 ] ).
1111
1212[ #414 ] : https://github.com/stackabletech/stackable-cockpit/pull/414
1313[ listener-operator preset ] : https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets
Original file line number Diff line number Diff line change @@ -4,12 +4,14 @@ use stackable_cockpit::platform::operator::listener_operator::ListenerOperatorPr
44#[ derive( Debug , Args ) ]
55#[ command( next_help_heading = "Operator specific configurations" ) ]
66pub struct CommonOperatorConfigsArgs {
7- /// Choose the listener-operator preset (`none`, `ephemeral-nodes` or `stable-nodes`).
7+ /// Choose the ListenerClass presets (`none`, `ephemeral-nodes` or `stable-nodes`).
88 ///
9- /// See [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets)
9+ /// This maps to the listener-operator preset, see
10+ /// [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets)
1011 /// for details.
1112 ///
12- /// This argument is temporary until we support setting arbitrary helm values for the operators!
13+ /// This argument is likely temporary until we support setting arbitrary helm values for the
14+ /// operators!
1315 #[ arg( long, global = true ) ]
14- pub listener_operator_preset : Option < ListenerOperatorPreset > ,
16+ pub listener_class_presets : Option < ListenerOperatorPreset > ,
1517}
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl Cli {
192192 cache. auto_purge ( ) . await . unwrap ( ) ;
193193
194194 determine_and_store_listener_operator_preset (
195- self . operator_configs . listener_operator_preset . as_ref ( ) ,
195+ self . operator_configs . listener_class_presets . as_ref ( ) ,
196196 )
197197 . await ;
198198
You can’t perform that action at this time.
0 commit comments