Skip to content

Commit

Permalink
Make monitor controller aware that there are multi tenant options (ti…
Browse files Browse the repository at this point in the history
  • Loading branch information
asincu committed Mar 28, 2024
1 parent df2b6ca commit 0f3aef1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/monitor/monitor_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func newReconciler(mgr manager.Manager, opts options.AddOptions, prometheusReady
tierWatchReady: tierWatchReady,
clusterDomain: opts.ClusterDomain,
usePSP: opts.UsePSP,
multiTenant: opts.MultiTenant,
}

r.status.AddStatefulSets([]types.NamespacedName{
Expand Down Expand Up @@ -188,6 +189,7 @@ type ReconcileMonitor struct {
tierWatchReady *utils.ReadyFlag
clusterDomain string
usePSP bool
multiTenant bool
}

func (r *ReconcileMonitor) getMonitor(ctx context.Context) (*operatorv1.Monitor, error) {
Expand Down

0 comments on commit 0f3aef1

Please sign in to comment.