Charts: [stable/datadog] Fix daemonset generation on securityContext

Created on 14 Jul 2020  ·  4Comments  ·  Source: helm/charts

Describe the bug

When upgrading the chart to latest version:

helm upgrade datadog -f values.yaml stable/datadog -n kube-system --version 2.3.29

I get this error:

Error: template: datadog/templates/daemonset.yaml:44:13: executing "datadog/templates/daemonset.yaml" at <(.Values.datadog.securityContext) and .Values.datadog.securityContext.seLinuxOptions>: can't give argument to non-function .Values.datadog.securityContext

Version of Helm and Kubernetes:

Kubectl Client version:

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T23:35:15Z", GoVersion:"go1.14.2", Compiler:"gc", Platform:"darwin/amd64"}

Kubeclt Server version:

Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.8-eks-e16311", GitCommit:"e163110a04dcb2f39c3325af96d019b4925419eb", GitTreeState:"clean", BuildDate:"2020-03-27T22:37:12Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}

Helm Version:

version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"dirty", GoVersion:"go1.14.3"}

Which chart:

What happened:

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

Perhaps it has a correlation with this issue 23146

Most helpful comment

This is resolved now.

All 4 comments

This is resolved now.

Success, thank you! 🎉

Was this page helpful?
0 / 5 - 0 ratings