Skip to content

Commit

Permalink
Add dependsOn on CAPI for all providers
Browse files Browse the repository at this point in the history
  • Loading branch information
eromanova committed Jun 21, 2024
1 parent be7109a commit 085ecd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/management_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func wrappedComponents(mgmt *hmc.Management) (components []component) {
components = append(components, component{Component: mgmt.Spec.Core.HMC, dependsOn: []meta.NamespacedObjectReference{{Name: mgmt.Spec.Core.CertManager.Template}}})
components = append(components, component{Component: mgmt.Spec.Core.CAPI, dependsOn: []meta.NamespacedObjectReference{{Name: mgmt.Spec.Core.CertManager.Template}}})
for provider := range mgmt.Spec.Providers {
components = append(components, component{Component: mgmt.Spec.Providers[provider]})
components = append(components, component{Component: mgmt.Spec.Providers[provider], dependsOn: []meta.NamespacedObjectReference{{Name: mgmt.Spec.Core.CAPI.Template}}})
}
return
}
Expand Down

0 comments on commit 085ecd2

Please sign in to comment.