File tree Expand file tree Collapse file tree
deploy/helm/superset-operator/crds Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1503,10 +1503,6 @@ spec:
15031503 required :
15041504 - roleGroups
15051505 type : object
1506- stopped :
1507- description : Emergency stop button, if `true` then all pods are stopped without affecting configuration (as setting `replicas` to `0` would)
1508- nullable : true
1509- type : boolean
15101506 vectorAggregatorConfigMapName :
15111507 description : Name of the Vector aggregator discovery ConfigMap. It must contain the key `ADDRESS` with the address of the Vector aggregator.
15121508 nullable : true
Original file line number Diff line number Diff line change @@ -142,9 +142,6 @@ pub const HTTP_PORT: &str = "http";
142142) ]
143143#[ serde( rename_all = "camelCase" ) ]
144144pub struct SupersetClusterSpec {
145- /// Emergency stop button, if `true` then all pods are stopped without affecting configuration (as setting `replicas` to `0` would)
146- #[ serde( default , skip_serializing_if = "Option::is_none" ) ]
147- pub stopped : Option < bool > ,
148145 /// The Superset image to use
149146 pub image : ProductImage ,
150147 /// Superset cluster configuration options.
Original file line number Diff line number Diff line change @@ -685,11 +685,7 @@ fn build_server_rolegroup_statefulset(
685685 . build ( ) ,
686686 spec : Some ( StatefulSetSpec {
687687 pod_management_policy : Some ( "Parallel" . to_string ( ) ) ,
688- replicas : if superset. spec . stopped . unwrap_or ( false ) {
689- Some ( 0 )
690- } else {
691- rolegroup. and_then ( |rg| rg. replicas ) . map ( i32:: from)
692- } ,
688+ replicas : rolegroup. and_then ( |rg| rg. replicas ) . map ( i32:: from) ,
693689 selector : LabelSelector {
694690 match_labels : Some ( role_group_selector_labels (
695691 superset,
You can’t perform that action at this time.
0 commit comments