Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateObservabilityBundleConfigMap ¶
func GenerateObservabilityBundleConfigMap(lc loggedcluster.Interface) (v1.ConfigMap, error)
GenerateObservabilityBundleConfigMap returns a configmap for the observabilitybundle application to enable promtail.
func ObservabilityBundleConfigMapMeta ¶
func ObservabilityBundleConfigMapMeta(lc loggedcluster.Interface) metav1.ObjectMeta
ObservabilityBundleConfigMapMeta returns metadata for the observability bundle extra values configmap.
Types ¶
type Reconciler ¶
Reconciler implements a reconciler.Interface to handle Promtail toggle: enable or disable Promtail in a given Cluster.
func (*Reconciler) ReconcileCreate ¶
func (r *Reconciler) ReconcileCreate(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
ReconcileCreate ensure Promtail is enabled in the given cluster.
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
ReconcileDelete ensure Promtail is disabled for the given cluster.
Click to show internal directories.
Click to hide internal directories.