Skip to content

Commit

Permalink
only add mounts if SD is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Yumasi committed Mar 6, 2025
1 parent 70dbc99 commit 24748d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/datadog/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ Return the local service name
Return true if runtime compilation is enabled in the system-probe
*/}}
{{- define "runtime-compilation-enabled" -}}
{{- if or .Values.datadog.systemProbe.enableTCPQueueLength .Values.datadog.systemProbe.enableOOMKill .Values.datadog.serviceMonitoring.enabled .Values.datadog.discovery.networkStats.enabled -}}
{{- if or .Values.datadog.systemProbe.enableTCPQueueLength .Values.datadog.systemProbe.enableOOMKill .Values.datadog.serviceMonitoring.enabled (and .Values.datadog.discovery.enabled .Values.datadog.discovery.networkStats.enabled) -}}
true
{{- else -}}
false
Expand Down

0 comments on commit 24748d7

Please sign in to comment.