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 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
IsAutopilotEnabled reports whether GKE Autopilot handling should apply, via either the provider annotation (datadoghq.com/provider: gke-autopilot — the value the DDA controller stamps onto the DDAI) or the experimental opt-in annotation on the DDA.
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.