Skip to content

Commit

Permalink
Migrate job installer to run inside elasticsearch namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
asincu committed Jan 22, 2024
1 parent c68c5cc commit 63b1a66
Show file tree
Hide file tree
Showing 20 changed files with 2,177 additions and 204 deletions.
8 changes: 7 additions & 1 deletion controllers/logstorage_controller.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020,2023 Tigera, Inc. All rights reserved.
// Copyright (c) 2020,2024 Tigera, Inc. All rights reserved.
/*
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,6 +18,7 @@ package controllers

import (
"github.com/go-logr/logr"
"github.com/tigera/operator/pkg/controller/logstorage/dashboards"
"github.com/tigera/operator/pkg/controller/logstorage/esmetrics"
"k8s.io/apimachinery/pkg/runtime"
ctrl "sigs.k8s.io/controller-runtime"
Expand Down Expand Up @@ -84,6 +85,11 @@ func (r *LogStorageReconciler) SetupWithManager(mgr ctrl.Manager, opts options.A
return err
}

// The settings controller installs
if err := dashboards.Add(mgr, opts); err != nil {
return err
}

// The managed cluster controller runs on managed clusters only, and installs the necessary services for managed cluster components
// to talk to the management cluster, as well as the necessary RBAC for management cluster components to talk
// to the managed cluster.
Expand Down
376 changes: 376 additions & 0 deletions pkg/controller/logstorage/dashboards/dashboards_controller.go

Large diffs are not rendered by default.

Loading

0 comments on commit 63b1a66

Please sign in to comment.