exporterconfig

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigConditionType = "OTLPExporterConfigSecret"
	CertsConditionType  = "OTLPExporterCertsConfig"
)
View Source
const ActiveGateCertDataName = "activegate-tls.crt"

ActiveGateCertDataName is the key used to store ActiveGate certificate data in the secret containing the ActiveGate Certificate for the OTLP exporter.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(ctx context.Context, client client.Client, apiReader client.Reader, namespaces []corev1.Namespace, dk *dynakube.DynaKube) error

func GetSourceCertsSecretName

func GetSourceCertsSecretName(dkName string) string

func GetSourceConfigSecretName

func GetSourceConfigSecretName(dkName string) string

Types

type SecretGenerator

type SecretGenerator struct {
	// contains filtered or unexported fields
}

SecretGenerator manages the OTLP exporter secret secret generation for the user namespaces.

func NewSecretGenerator

func NewSecretGenerator(client client.Client, apiReader client.Reader, dtClient dtclient.Client) *SecretGenerator

func (*SecretGenerator) GenerateForDynakube

func (s *SecretGenerator) GenerateForDynakube(ctx context.Context, dk *dynakube.DynaKube, namespaces []corev1.Namespace) error

GenerateForDynakube creates/updates the OTLP exporter config secret for EVERY namespace for the given dynakube. Used by the dynakube controller during reconcile.

Jump to

Keyboard shortcuts

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