mirror of
https://github.com/helm/charts.git
synced 2026-08-19 12:27:02 +00:00
If the `datadog.securityContext` value is set to `nil` instead of `{}`
when a user want to remove the default `securityContext`, helm is not
able to generate the Daemonset manifest.
To support this configuration we have change how we test the value.
With the new `{{ if ...}}` check we don't check the second comparison
if the first already return false.
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>