Documentation
¶
Index ¶
Constants ¶
const (
// NotificationChannelCleanupFinalizer is the finalizer that is used to clean up notification channel resources.
NotificationChannelCleanupFinalizer = "openchoreo.dev/notification-channel-cleanup"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
client.Client
PlaneClientProvider kubernetesClient.ObservabilityPlaneClientProvider
Scheme *runtime.Scheme
}
Reconciler reconciles a ObservabilityAlertsNotificationChannel object
func (*Reconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. It creates a ConfigMap and Secret with the same name as ObservabilityAlertsNotificationChannel and applies them to the observability plane cluster using cluster-gateway and cluster-agent architecture. Owner references are not set on the ConfigMap and Secret as they are applied to a separate cluster.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.4/pkg/reconcile
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.