@@ -52,7 +52,10 @@ use stackable_operator::{
5252 pod:: container:: { EnvVarSet , new_container_builder} ,
5353 } ,
5454 product_logging:: framework:: vector_container,
55- types:: kubernetes:: { ContainerName , VolumeName } ,
55+ types:: {
56+ common:: Port ,
57+ kubernetes:: { ContainerName , VolumeName } ,
58+ } ,
5659 } ,
5760} ;
5861
@@ -68,7 +71,7 @@ pub const CONFIG_FILE: &str = "config.json";
6871pub const BUNDLES_ACTIVE_DIR : & str = "/bundles/active" ;
6972pub const BUNDLES_INCOMING_DIR : & str = "/bundles/incoming" ;
7073pub const BUNDLES_TMP_DIR : & str = "/bundles/tmp" ;
71- pub const BUNDLE_BUILDER_PORT : i32 = 3030 ;
74+ pub const BUNDLE_BUILDER_PORT : Port = Port ( 3030 ) ;
7275
7376stackable_operator:: constant!( CONFIG_VOLUME_NAME : VolumeName = "config" ) ;
7477const CONFIG_DIR : & str = "/stackable/config" ;
@@ -293,12 +296,12 @@ pub fn build_server_rolegroup_daemonset(
293296 )
294297 . readiness_probe ( http_readiness_probe (
295298 BUNDLE_BUILDER_PROBE_PATH ,
296- IntOrString :: Int ( BUNDLE_BUILDER_PORT ) ,
299+ IntOrString :: Int ( BUNDLE_BUILDER_PORT . into ( ) ) ,
297300 None ,
298301 ) )
299302 . liveness_probe ( http_liveness_probe (
300303 BUNDLE_BUILDER_PROBE_PATH ,
301- IntOrString :: Int ( BUNDLE_BUILDER_PORT ) ,
304+ IntOrString :: Int ( BUNDLE_BUILDER_PORT . into ( ) ) ,
302305 None ,
303306 ) ) ;
304307 add_stackable_rust_cli_env_vars (
0 commit comments