@@ -88,8 +88,7 @@ use crate::{
8888 AirflowConfigOptions , AirflowExecutor , AirflowRole , CONFIG_PATH , Container , ExecutorConfig ,
8989 ExecutorConfigFragment , HTTP_PORT , HTTP_PORT_NAME , LISTENER_VOLUME_DIR ,
9090 LISTENER_VOLUME_NAME , LOG_CONFIG_DIR , METRICS_PORT , METRICS_PORT_NAME , OPERATOR_NAME ,
91- STACKABLE_LOG_DIR , TEMPLATE_CONFIGMAP_NAME , TEMPLATE_LOCATION , TEMPLATE_NAME ,
92- TEMPLATE_VOLUME_NAME ,
91+ STACKABLE_LOG_DIR , TEMPLATE_LOCATION , TEMPLATE_NAME , TEMPLATE_VOLUME_NAME ,
9392 authentication:: {
9493 AirflowAuthenticationClassResolved , AirflowClientAuthenticationDetailsResolved ,
9594 } ,
@@ -1110,7 +1109,7 @@ fn build_server_rolegroup_statefulset(
11101109 if let AirflowExecutor :: KubernetesExecutor { .. } = executor {
11111110 pb. add_volume (
11121111 VolumeBuilder :: new ( TEMPLATE_VOLUME_NAME )
1113- . with_config_map ( TEMPLATE_CONFIGMAP_NAME )
1112+ . with_config_map ( airflow . executor_template_configmap_name ( ) )
11141113 . build ( ) ,
11151114 )
11161115 . context ( AddVolumeSnafu ) ?;
@@ -1329,7 +1328,7 @@ fn build_executor_template_config_map(
13291328 . metadata (
13301329 ObjectMetaBuilder :: new ( )
13311330 . name_and_namespace ( airflow)
1332- . name ( TEMPLATE_CONFIGMAP_NAME )
1331+ . name ( airflow . executor_template_configmap_name ( ) )
13331332 . ownerreference_from_resource ( airflow, None , Some ( true ) )
13341333 . context ( ObjectMissingMetadataForOwnerRefSnafu ) ?
13351334 . with_recommended_labels ( build_recommended_labels (
0 commit comments