Skip to content

Commit

Permalink
simplify if cond
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Jan 9, 2025
1 parent 24f5341 commit c0ea032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/datadog/templates/_daemonset-volumes-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- hostPath:
path: /sys/fs/cgroup
name: cgroups
{{- if and (not .Values.providers.gke.autopilot) (or .Values.datadog.systemProbe.osReleasePath .Values.datadog.osReleasePath (eq (include "should-enable-sbom-host-fs-collection" .) "true")) }}
{{- if and (or .Values.datadog.systemProbe.osReleasePath .Values.datadog.osReleasePath) (eq (include "should-enable-sbom-host-fs-collection" .) "true") }}
- hostPath:
path: {{ .Values.datadog.systemProbe.osReleasePath | default .Values.datadog.osReleasePath }}
name: os-release-file
Expand Down

0 comments on commit c0ea032

Please sign in to comment.