Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateLoggingSecret ¶
func GenerateLoggingSecret(lc loggedcluster.Interface, credentialsSecret *v1.Secret, lokiURL string) (v1.Secret, error)
GenerateLoggingSecret returns a secret for the Loki-multi-tenant-proxy auth config
func SecretMeta ¶
func SecretMeta(lc loggedcluster.Interface) metav1.ObjectMeta
SecretMeta returns metadata for the logging-secret
Types ¶
type Reconciler ¶
Reconciler implements a reconciler.Interface to handle Logging secret: extra logging secret about where and how to send logs
func (*Reconciler) ReconcileCreate ¶
func (r *Reconciler) ReconcileCreate(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)
ReconcileCreate ensures logging-secret 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.