utils

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EnableADPAnnotation = "agent.datadoghq.com/adp-enabled"
View Source
const EnableFineGrainedKubeletAuthz = "agent.datadoghq.com/fine-grained-kubelet-authorization-enabled"
View Source
const ProcessConfigRunInCoreAgentMinVersion = "7.60.0-0"

Variables

This section is empty.

Functions

func HasAgentDataPlaneAnnotation added in v1.11.0

func HasAgentDataPlaneAnnotation(dda metav1.Object) bool

HasAgentDataPlaneAnnotation returns true if the Agent Data Plane is enabled via the dedicated `agent.datadoghq.com/adp-enabled` annotation

func HasFineGrainedKubeletAuthz added in v1.20.0

func HasFineGrainedKubeletAuthz(dda metav1.Object) bool

HasFineGrainedKubeletAuthz returns true if the feature is enabled via the dedicated `agent.datadoghq.com/fine-grained-kubelet-authorization-enabled` annotation

func OverrideProcessConfigRunInCoreAgent added in v1.13.0

func OverrideProcessConfigRunInCoreAgent(ddaSpec *v2alpha1.DatadogAgentSpec, currentVal bool) bool

OverrideProcessConfigRunInCoreAgent determines whether to respect the currentVal based on environment variables and the agent version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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