constants

package
v5.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultObservabilityNamespace  string = "observability"
	DefaultMetricsWriterSecretName string = "metrics-writer"
)

Default namespace and name of the delivered metrics-writer Secret.

View Source
const (
	MetricsWriterEndpointKey string = "endpoint"
	MetricsWriterTokenKey    string = "token"
	MetricsWriterCACertKey   string = "ca.crt"
)

Keys of the delivered metrics-writer Secret. Whatever collector reads the Secret is configured against these names, so renaming one breaks every deployed collector.

Not the JSON tags of managementv1.VirtualClusterObservabilityConnectorStatus, which is the platform side of the same contract: ca.crt is the Kubernetes convention for a mounted trust anchor and does not follow that type's caCert.

View Source
const (
	MetricsWriterManagedByLabel string = "observability.platform.vcluster.com/managed-by"
	MetricsWriterManagedByValue string = "vcluster"
)

Ownership marker on a delivered metrics-writer Secret. Nothing else sets it, so a Secret at the delivery target without it belongs to the tenant and must not be overwritten or deleted.

View Source
const (
	StorageTypeS3        string = "s3"
	StorageTypeOCI       string = "oci"
	StorageTypeContainer string = "container"
	StorageTypeAzure     string = "azure"
	SnapshotConfigMapKey string = "snapshotTaken"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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