@@ -33,7 +33,6 @@ use stackable_operator::{
3333 client:: Client ,
3434 cluster_resources:: { ClusterResourceApplyStrategy , ClusterResources } ,
3535 commons:: { product_image_selection:: ResolvedProductImage , rbac:: build_rbac_resources} ,
36- config:: fragment,
3736 crd:: {
3837 authentication:: oidc:: v1alpha1:: AuthenticationProvider ,
3938 git_sync,
@@ -54,7 +53,7 @@ use stackable_operator::{
5453 kube:: {
5554 Resource , ResourceExt ,
5655 core:: { DeserializeGuard , error_boundary} ,
57- runtime:: { controller:: Action , reflector :: ObjectRef } ,
56+ runtime:: controller:: Action ,
5857 } ,
5958 kvp:: { Label , Labels , ObjectLabels } ,
6059 logging:: controller:: ReconcilerError ,
@@ -153,11 +152,6 @@ pub enum Error {
153152 source : stackable_operator:: cluster_resources:: Error ,
154153 } ,
155154
156- #[ snafu( display( "failed to apply global Service" ) ) ]
157- ApplyRoleService {
158- source : stackable_operator:: cluster_resources:: Error ,
159- } ,
160-
161155 #[ snafu( display( "failed to fetch deployed StatefulSets" ) ) ]
162156 FetchStatefulsets {
163157 source : stackable_operator:: client:: Error ,
@@ -219,15 +213,6 @@ pub enum Error {
219213 #[ snafu( display( "Failed to find information about file [{}] in product config" , kind) ) ]
220214 ProductConfigKindNotSpecified { kind : String } ,
221215
222- #[ snafu( display( "Failed to find service {obj_ref}" ) ) ]
223- MissingService {
224- source : stackable_operator:: client:: Error ,
225- obj_ref : ObjectRef < Service > ,
226- } ,
227-
228- #[ snafu( display( "Could not build role service fqdn" ) ) ]
229- NoRoleServiceFqdn ,
230-
231216 #[ snafu( display( "Bootstrap configuration error" ) ) ]
232217 BootstrapConfig {
233218 #[ snafu( source( from( config:: Error , Box :: new) ) ) ]
@@ -247,12 +232,6 @@ pub enum Error {
247232 container_name : String ,
248233 } ,
249234
250- #[ snafu( display( "failed to validate resources for {rolegroup}" ) ) ]
251- ResourceValidation {
252- source : fragment:: ValidationError ,
253- rolegroup : RoleGroupRef < v1alpha1:: NifiCluster > ,
254- } ,
255-
256235 #[ snafu( display( "failed to resolve and merge config for role and role group" ) ) ]
257236 FailedToResolveConfig { source : crate :: crd:: Error } ,
258237
0 commit comments