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 ¶
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 (*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.
Click to show internal directories.
Click to hide internal directories.