File tree Expand file tree Collapse file tree
helm/superset-operator/configs
rust/operator-binary/src/crd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,18 +3,6 @@ version: 0.1.0
33spec :
44 units : []
55properties :
6- - property : &credentialsSecretName
7- propertyNames :
8- - name : " credentialsSecretName"
9- kind :
10- type : " env"
11- datatype :
12- type : " string"
13- roles :
14- - name : " node"
15- required : true
16- asOfVersion : " 0.0.0"
17- description : " The name of the Secret where the Superset credentials are stored."
186 - property : &rowLimit
197 propertyNames :
208 - name : " ROW_LIMIT"
Original file line number Diff line number Diff line change @@ -3,18 +3,6 @@ version: 0.1.0
33spec :
44 units : []
55properties :
6- - property : &credentialsSecretName
7- propertyNames :
8- - name : " credentialsSecretName"
9- kind :
10- type : " env"
11- datatype :
12- type : " string"
13- roles :
14- - name : " node"
15- required : true
16- asOfVersion : " 0.0.0"
17- description : " The name of the Secret where the Superset credentials are stored."
186 - property : &rowLimit
197 propertyNames :
208 - name : " ROW_LIMIT"
Original file line number Diff line number Diff line change @@ -444,7 +444,6 @@ impl FlaskAppConfigOptions for SupersetConfigOptions {
444444}
445445
446446impl v1alpha1:: SupersetConfig {
447- pub const CREDENTIALS_SECRET_NAME_PROPERTY : & ' static str = "credentialsSecretName" ;
448447 pub const MAPBOX_SECRET_PROPERTY : & ' static str = "mapboxSecret" ;
449448
450449 fn default_config ( cluster_name : & str , role : & SupersetRole ) -> v1alpha1:: SupersetConfigFragment {
@@ -478,10 +477,6 @@ impl Configuration for v1alpha1::SupersetConfigFragment {
478477 _role_name : & str ,
479478 ) -> Result < BTreeMap < String , Option < String > > , product_config_utils:: Error > {
480479 let mut result = BTreeMap :: new ( ) ;
481- result. insert (
482- v1alpha1:: SupersetConfig :: CREDENTIALS_SECRET_NAME_PROPERTY . to_string ( ) ,
483- Some ( cluster. spec . cluster_config . credentials_secret_name . clone ( ) ) ,
484- ) ;
485480 if let Some ( msec) = & cluster. spec . cluster_config . mapbox_secret {
486481 result. insert (
487482 v1alpha1:: SupersetConfig :: MAPBOX_SECRET_PROPERTY . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments