@@ -8,6 +8,7 @@ use snafu::{ResultExt, Snafu};
88use stackable_operator:: {
99 cli:: OperatorEnvironmentOptions ,
1010 commons:: product_image_selection:: { self , ResolvedProductImage } ,
11+ crd:: s3,
1112 product_config_utils:: {
1213 ValidatedRoleConfigByPropertyKind , transform_all_roles_to_config,
1314 validate_all_roles_and_groups_config,
@@ -48,6 +49,10 @@ type Result<T, E = Error> = std::result::Result<T, E>;
4849
4950/// Synchronous inputs the rest of `reconcile_druid` needs after dereferencing.
5051pub struct ValidatedInputs {
52+ pub zookeeper_connection_string : String ,
53+ pub opa_connection_string : Option < String > ,
54+ pub s3_connection : Option < s3:: v1alpha1:: ConnectionSpec > ,
55+ pub deep_storage_bucket_name : Option < String > ,
5156 pub resolved_product_image : ResolvedProductImage ,
5257 pub druid_tls_security : DruidTlsSecurity ,
5358 pub druid_auth_config : Option < DruidAuthenticationConfig > ,
@@ -93,6 +98,10 @@ pub fn validate(
9398 . context ( InvalidProductConfigSnafu ) ?;
9499
95100 Ok ( ValidatedInputs {
101+ zookeeper_connection_string : dereferenced_objects. zookeeper_connection_string . clone ( ) ,
102+ opa_connection_string : dereferenced_objects. opa_connection_string . clone ( ) ,
103+ s3_connection : dereferenced_objects. s3_connection . clone ( ) ,
104+ deep_storage_bucket_name : dereferenced_objects. deep_storage_bucket_name . clone ( ) ,
96105 resolved_product_image,
97106 druid_tls_security,
98107 druid_auth_config,
0 commit comments