Skip to content

Commit

Permalink
The Network Monitoring feature enables the process agent (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
L3n41c committed Dec 28, 2021
1 parent eea7b7e commit 909fad8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apis/datadoghq/v1alpha1/datadogagent_default.go
Expand Up @@ -154,8 +154,9 @@ func FeatureOverride(dda *DatadogAgentSpec, dso *DatadogAgentSpec) {
dso.Agent.SystemProbe.Enabled = NewBoolPointer(true)
}
}
if dda.Features.OrchestratorExplorer != nil && BoolValue(dda.Features.OrchestratorExplorer.Enabled) {
// If the Orchestrator Explorer Feature is enabled, enable the Process Agent.
if dda.Features.NetworkMonitoring != nil && BoolValue(dda.Features.NetworkMonitoring.Enabled) ||
dda.Features.OrchestratorExplorer != nil && BoolValue(dda.Features.OrchestratorExplorer.Enabled) {
// If the Network Monitoring or the Orchestrator Explorer Feature is enabled, enable the Process Agent.
if !BoolValue(dda.Agent.Enabled) {
if dda.Agent.Process == nil {
dda.Agent.Process = DefaultDatadogAgentSpecAgentProcess(&dda.Agent)
Expand Down

0 comments on commit 909fad8

Please sign in to comment.