We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be14ac6 commit 2cf2dd3Copy full SHA for 2cf2dd3
charts/vector/templates/_helpers.tpl
@@ -290,7 +290,9 @@ to be more generally usable for other components.
290
{{- range $componentKind, $configs := .Values.customConfig }}
291
{{- if eq $componentKind "sources" }}
292
{{- range $componentId, $componentConfig := $configs }}
293
- {{- if eq (get $componentConfig "type") "datadog_agent" }}
+ {{- if $componentConfig }}
294
+ {{- if eq (get $componentConfig "type") "datadog_agent" }}
295
+ {{- end }}
296
{{- $hasSourceDatadogAgent = true }}
297
{{- $sourceDatadogAgentPort = mustRegexFind "[0-9]+$" (get $componentConfig "address") }}
298
{{- if (hasKey $componentConfig "tls") }}
0 commit comments