Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatasourceSecretMeta ¶
func DatasourceSecretMeta(lc loggedcluster.Interface) metav1.ObjectMeta
DatasourceSecretMeta returns metadata for the observability bundle extra values configmap.
func GenerateDatasourceSecret ¶
func GenerateDatasourceSecret(lc loggedcluster.Interface, credentialsSecret *v1.Secret) (v1.Secret, error)
GenerateDatasourceSecret returns a secret for the Loki datasource for Grafana
Types ¶
type Reconciler ¶
Reconciler implements a reconciler.Interface to handle Grafana datasource secret: secret which stores Loki datasource information for Grafana
func (*Reconciler) ReconcileCreate ¶
func (r *Reconciler) ReconcileCreate(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
ReconcileCreate ensures Grafana Datasource for Loki is created with the right credentials
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
ReconcileDelete - Not much to do here when a cluster is deleted
Click to show internal directories.
Click to hide internal directories.