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 @@ -35,7 +35,10 @@ use stackable_operator::{
3535 schemars:: { self , JsonSchema } ,
3636 shared:: time:: Duration ,
3737 status:: condition:: { ClusterCondition , HasStatusCondition } ,
38- v2:: { config_overrides:: KeyValueConfigOverrides , role_utils:: JavaCommonConfig } ,
38+ v2:: {
39+ config_overrides:: KeyValueConfigOverrides , role_utils:: JavaCommonConfig ,
40+ types:: common:: Port ,
41+ } ,
3942 versioned:: versioned,
4043} ;
4144use strum:: { Display , EnumIter , EnumString } ;
@@ -61,9 +64,9 @@ pub const STACKABLE_LOG_CONFIG_MOUNT_DIR_NAME: &str = "log-config-mount";
6164
6265// Default ports
6366pub const HIVE_PORT_NAME : & str = "hive" ;
64- pub const HIVE_PORT : u16 = 9083 ;
67+ pub const HIVE_PORT : Port = Port ( 9083 ) ;
6568pub const METRICS_PORT_NAME : & str = "metrics" ;
66- pub const METRICS_PORT : u16 = 9084 ;
69+ pub const METRICS_PORT : Port = Port ( 9084 ) ;
6770
6871// Certificates and trust stores
6972pub const STACKABLE_TRUST_STORE : & str = "/stackable/truststore.p12" ;
You can’t perform that action at this time.
0 commit comments