@@ -3,11 +3,10 @@ use std::collections::{BTreeMap, HashMap};
33use stackable_operator:: {
44 builder:: meta:: ObjectMetaBuilder ,
55 commons:: product_image_selection:: ResolvedProductImage ,
6- k8s_openapi:: api:: core:: v1:: PodTemplateSpec ,
76 kube:: { Resource , api:: ObjectMeta } ,
87 role_utils:: RoleGroupRef ,
98 v2:: {
10- builder :: pod :: container :: EnvVarSet ,
9+ role_utils :: RoleGroupConfig ,
1110 types:: {
1211 kubernetes:: { NamespaceName , Uid } ,
1312 operator:: ClusterName ,
@@ -37,18 +36,6 @@ pub type ValidatedRoleGroupConfig = RoleGroupConfig<
3736 v1alpha1:: HdfsConfigOverrides ,
3837> ;
3938
40- /// HDFS-friendly view of a validated, merged `RoleGroup`.
41- #[ derive( Clone , Debug , PartialEq ) ]
42- pub struct RoleGroupConfig < Config , CommonConfig , ConfigOverrides > {
43- pub replicas : u16 ,
44- pub config : Config ,
45- pub config_overrides : ConfigOverrides ,
46- pub env_overrides : EnvVarSet ,
47- pub cli_overrides : BTreeMap < String , String > ,
48- pub pod_overrides : PodTemplateSpec ,
49- pub product_specific_common_config : CommonConfig ,
50- }
51-
5239/// The validated cluster: proves that config merging and validation succeeded
5340/// for every role and role group before any resources are created. Placed in the
5441/// controller so that subsequent steps that reference this struct only depend on
0 commit comments