Skip to content

Commit

Permalink
Merge master into PR #11672
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 9, 2024
2 parents ad6bcde + 7d7fd8f commit 758a206
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/plugins/runtime/k8s/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func addControllers(mgr kube_ctrl.Manager, rt core_runtime.Runtime, converter k8
if err := addServiceReconciler(mgr); err != nil {
return err
}
if err := addMeshServiceReconciler(mgr, converter); err != nil {
if err := addMeshServiceReconciler(mgr, rt, converter); err != nil {
return err
}
if err := addMeshReconciler(mgr, rt); err != nil {
Expand Down Expand Up @@ -138,7 +138,10 @@ func addServiceReconciler(mgr kube_ctrl.Manager) error {
return reconciler.SetupWithManager(mgr)
}

func addMeshServiceReconciler(mgr kube_ctrl.Manager, converter k8s_common.Converter) error {
func addMeshServiceReconciler(mgr kube_ctrl.Manager, rt core_runtime.Runtime, converter k8s_common.Converter) error {
if rt.Config().Mode == config_core.Global {
return nil
}
reconciler := &k8s_controllers.MeshServiceReconciler{
Client: mgr.GetClient(),
Log: core.Log.WithName("controllers").WithName("MeshService"),
Expand Down

0 comments on commit 758a206

Please sign in to comment.