Documentation
¶
Index ¶
- Constants
- func ApplyExperimentalOverrides(logger logr.Logger, dda metav1.Object, manager feature.PodTemplateManagers)
- func CreateDatadogCSIAllowlistSynchronizer(dda metav1.Object)
- func IsAutopilotEnabled(obj metav1.Object) bool
- func ResolveImageOverride(dda metav1.Object, containerName, currentImg string) (string, error)
Constants ¶
const DDCloudProviderMetadata = "DD_CLOUD_PROVIDER_METADATA"
DDCloudProviderMetadata restricts host alias collection to GCP metadata.
const DDKubeletUseAPIServer = "DD_KUBELET_USE_API_SERVER"
DDKubeletUseAPIServer is the env var that toggles the Agent's use of the Kubernetes API server (instead of the kubelet) to discover pods. It is required on GKE Autopilot, where the kubelet endpoint is not reachable.
const ExperimentalAnnotationPrefix = "experimental.agent.datadoghq.com"
const ExperimentalAutopilotAllowlistVersionSubkey = "autopilot-allowlist-version"
const ExperimentalAutopilotCSIAllowlistVersionSubkey = "autopilot-csi-allowlist-version"
const ExperimentalAutopilotSubkey = "autopilot"
const ExperimentalImageOverrideConfigSubkey = "image-override-config"
Variables ¶
This section is empty.
Functions ¶
func ApplyExperimentalOverrides ¶
func ApplyExperimentalOverrides(logger logr.Logger, dda metav1.Object, manager feature.PodTemplateManagers)
ApplyExperimentalOverrides applies any configured experimental overrides for the the given DatadogAgent resource.
func CreateDatadogCSIAllowlistSynchronizer ¶ added in v1.28.0
CreateDatadogCSIAllowlistSynchronizer creates the Datadog CSI driver WorkloadAllowlist synchronizer when Autopilot support is enabled.
func IsAutopilotEnabled ¶ added in v1.18.0
func ResolveImageOverride ¶ added in v1.28.0
ResolveImageOverride returns the effective image for a container after applying the experimental image override annotation. If no override is configured, or if the annotation is malformed, it returns currentImg.
Types ¶
This section is empty.