File tree Expand file tree Collapse file tree
rust/operator-binary/src/crd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -935,7 +935,6 @@ pub struct AirflowConfig {
935935}
936936
937937impl AirflowConfig {
938- pub const CREDENTIALS_SECRET_PROPERTY : & ' static str = "credentialsSecret" ;
939938 pub const GIT_CREDENTIALS_SECRET_PROPERTY : & ' static str = "gitCredentialsSecret" ;
940939
941940 fn default_config ( cluster_name : & str , role : & AirflowRole ) -> AirflowConfigFragment {
@@ -959,15 +958,10 @@ impl Configuration for AirflowConfigFragment {
959958
960959 fn compute_env (
961960 & self ,
962- cluster : & Self :: Configurable ,
961+ _cluster : & Self :: Configurable ,
963962 _role_name : & str ,
964963 ) -> Result < BTreeMap < String , Option < String > > , product_config_utils:: Error > {
965- let mut env: BTreeMap < String , Option < String > > = BTreeMap :: new ( ) ;
966- env. insert (
967- AirflowConfig :: CREDENTIALS_SECRET_PROPERTY . to_string ( ) ,
968- Some ( cluster. spec . cluster_config . credentials_secret . clone ( ) ) ,
969- ) ;
970- Ok ( env)
964+ Ok ( BTreeMap :: new ( ) )
971965 }
972966
973967 fn compute_cli (
You can’t perform that action at this time.
0 commit comments