global

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FIPSProxyCustomConfigVolumeName = "fips-proxy-cfg"
	FIPSProxyCustomConfigFileName   = "datadog-fips-proxy.cfg"
	FIPSProxyCustomConfigMapName    = "%s-fips-config"
	FIPSProxyCustomConfigMountPath  = "/etc/datadog-fips-proxy/datadog-fips-proxy.cfg"

	InstallInfoToolVersion = "DD_TOOL_VERSION"
)
View Source
const (
	DDChecksTagCardinality                 = "DD_CHECKS_TAG_CARDINALITY"
	DDClusterAgentAuthToken                = "DD_CLUSTER_AGENT_AUTH_TOKEN"
	DDCriSocketPath                        = "DD_CRI_SOCKET_PATH"
	DDFIPSEnabled                          = "DD_FIPS_ENABLED"
	DDFIPSPortRangeStart                   = "DD_FIPS_PORT_RANGE_START"
	DDFIPSUseHTTPS                         = "DD_FIPS_HTTPS"
	DDFIPSLocalAddress                     = "DD_FIPS_LOCAL_ADDRESS"
	DDKubeletCAPath                        = "DD_KUBELET_CLIENT_CA"
	DDKubeletTLSVerify                     = "DD_KUBELET_TLS_VERIFY"
	DDKubernetesPodResourcesSocket         = "DD_KUBERNETES_KUBELET_PODRESOURCES_SOCKET"
	DDNamespaceLabelsAsTags                = "DD_KUBERNETES_NAMESPACE_LABELS_AS_TAGS"
	DDNamespaceAnnotationsAsTags           = "DD_KUBERNETES_NAMESPACE_ANNOTATIONS_AS_TAGS"
	DDNodeLabelsAsTags                     = "DD_KUBERNETES_NODE_LABELS_AS_TAGS"
	DDOriginDetectionUnified               = "DD_ORIGIN_DETECTION_UNIFIED"
	DDPodAnnotationsAsTags                 = "DD_KUBERNETES_POD_ANNOTATIONS_AS_TAGS"
	DDPodLabelsAsTags                      = "DD_KUBERNETES_POD_LABELS_AS_TAGS"
	DDSecretBackendCommand                 = "DD_SECRET_BACKEND_COMMAND"
	DDSecretBackendArguments               = "DD_SECRET_BACKEND_ARGUMENTS"
	DDSecretBackendTimeout                 = "DD_SECRET_BACKEND_TIMEOUT"
	DDSecretBackendType                    = "DD_SECRET_BACKEND_TYPE"
	DDSecretBackendConfig                  = "DD_SECRET_BACKEND_CONFIG"
	DDSecretRefreshInterval                = "DD_SECRET_REFRESH_INTERVAL"
	DDTags                                 = "DD_TAGS"
	DockerHost                             = "DOCKER_HOST"
	DDKubernetesResourcesLabelsAsTags      = "DD_KUBERNETES_RESOURCES_LABELS_AS_TAGS"
	DDKubernetesResourcesAnnotationsAsTags = "DD_KUBERNETES_RESOURCES_ANNOTATIONS_AS_TAGS"
	DDCSIEnabled                           = "DD_CSI_ENABLED"
	DDVSockAddr                            = "DD_VSOCK_ADDR"
	DDRemoteAgentRegistryEnabled           = "DD_REMOTE_AGENT_REGISTRY_ENABLED"
)

This file tracks environment variables used in global

Variables

This section is empty.

Functions

func AddAPMTelemetryDependencies added in v1.16.0

func AddAPMTelemetryDependencies(_ logr.Logger, dda metav1.Object, manager feature.ResourceManagers) error

func AddCredentialDependencies added in v1.16.0

func AddCredentialDependencies(logger logr.Logger, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec, manager feature.ResourceManagers) error

func AddDCATokenDependencies added in v1.16.0

func AddDCATokenDependencies(logger logr.Logger, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec, ddaStatus *v2alpha1.DatadogAgentStatus, manager feature.ResourceManagers) error

func AddInstallInfoDependencies added in v1.18.0

func AddInstallInfoDependencies(dda metav1.Object, manager feature.ResourceManagers) error

func ApplyGlobalComponentDependencies

func ApplyGlobalComponentDependencies(logger logr.Logger, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec, ddaStatus *v2alpha1.DatadogAgentStatus, resourceManagers feature.ResourceManagers, componentName v2alpha1.ComponentName, rc feature.RequiredComponent, fromDDAI bool) []error

ApplyGlobalComponentDependencies applies the global dependencies for a component.

func ApplyGlobalDependencies

func ApplyGlobalDependencies(logger logr.Logger, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec, resourceManagers feature.ResourceManagers, fromDDAI bool) []error

ApplyGlobalDependencies applies the global dependencies for a DatadogAgent instance. fromDDAI is true if the dependencies are being applied to a DatadogAgentInternal instance.

func ApplyGlobalSettingsClusterAgent

func ApplyGlobalSettingsClusterAgent(logger logr.Logger, manager feature.PodTemplateManagers, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec,
	resourcesManager feature.ResourceManagers, requiredComponents feature.RequiredComponents)

ApplyGlobalSettingsClusterAgent applies the global settings for the ClusterAgent component.

func ApplyGlobalSettingsClusterChecksRunner

func ApplyGlobalSettingsClusterChecksRunner(logger logr.Logger, manager feature.PodTemplateManagers, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec,
	resourcesManager feature.ResourceManagers, requiredComponents feature.RequiredComponents)

ApplyGlobalSettingsClusterChecksRunner applies the global settings for the ClusterChecksRunner component.

func ApplyGlobalSettingsNodeAgent

func ApplyGlobalSettingsNodeAgent(logger logr.Logger, manager feature.PodTemplateManagers, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec,
	resourcesManager feature.ResourceManagers, singleContainerStrategyEnabled bool, requiredComponents feature.RequiredComponents)

ApplyGlobalSettingsNodeAgent applies the global settings for the NodeAgent component.

func ApplyGlobalSettingsOtelAgentGateway added in v1.23.0

func ApplyGlobalSettingsOtelAgentGateway(
	logger logr.Logger,
	manager feature.PodTemplateManagers,
	ddaMeta metav1.Object,
	ddaSpec *v2alpha1.DatadogAgentSpec,
	resourcesManager feature.ResourceManagers,
	requiredComponents feature.RequiredComponents,
)

ApplyGlobalSettingsOtelAgentGateway applies global settings to the OtelAgentGateway deployment

func GetDCATokenChecksumAnnotationKey added in v1.17.0

func GetDCATokenChecksumAnnotationKey() string

func IsValidSecretConfig added in v1.17.0

func IsValidSecretConfig(secretConfig *v2alpha1.SecretConfig) bool

func SetGlobalFromDDA added in v1.16.0

func SetGlobalFromDDA(dda *v2alpha1.DatadogAgent, ddaiGlobal *v2alpha1.GlobalConfig)

func ValidateFIPSVersions added in v1.26.0

func ValidateFIPSVersions(manager feature.PodTemplateManagers) []error

ValidateFIPSVersions checks all containers in the pod template for FIPS version compatibility. This must be called after all image overrides have been applied, so it sees the final image tags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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