loggingsecret

package
v0.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAlloyLoggingSecret added in v0.7.0

func GenerateAlloyLoggingSecret(ctx context.Context, cluster *capi.Cluster, logsAuthManager, tracesAuthManager auth.AuthManager, lokiURL string, tracingEnabled bool) (map[string][]byte, error)

func GenerateLoggingSecret

func GenerateLoggingSecret(ctx context.Context, cluster *capi.Cluster, logsAuthManager auth.AuthManager, tracesAuthManager auth.AuthManager, lokiURL string, tracingEnabled bool) (v1.Secret, error)

func SecretMeta

func SecretMeta(cluster *capi.Cluster) metav1.ObjectMeta

SecretMeta returns metadata for the logging-secret

Types

type Resource added in v0.30.0

type Resource struct {
	Client            client.Client
	Config            config.Config
	LogsAuthManager   auth.AuthManager
	TracesAuthManager auth.AuthManager
}

Resource implements a resource.Interface to handle Logging secret: extra logging secret about where and how to send logs

func (*Resource) ReconcileCreate added in v0.30.0

func (r *Resource) ReconcileCreate(ctx context.Context, cluster *capi.Cluster) (ctrl.Result, error)

ReconcileCreate ensures logging-secret is created with the right credentials

func (*Resource) ReconcileDelete added in v0.30.0

func (r *Resource) ReconcileDelete(ctx context.Context, cluster *capi.Cluster) (ctrl.Result, error)

ReconcileDelete - Not much to do here when a cluster is deleted

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL