Describe the bug a clear and concise description of what the bug is.
hi, I want to add extra dashboard in the grafana deployed by kube-prometheus-stack. I found the file "kube-prometheus-stack/templates/grafana/configmap-dashboards.yaml" is used to load the configmap for the grafana dashboard. So I followed the code logic, and added a json file which is exported by the grafana in the "dashboards-1.14" directory, dry run. I got the error:
error log with dry run:
install.go:200: [debug] Original chart version: ""
install.go:217: [debug] CHART PATH: C:\Users\mauc\projects\tencent\iac\terraform\helm\kube-prometheus-stack
install.go:240: [debug] WARNING: This chart or one of its subcharts contains CRDs. Rendering may fail or contain inaccuracies.
Error: INSTALLATION FAILED: parse error at (kube-prometheus-stack/templates/grafana/dashboards-1.14/redis.json:687): function "input" not defined
helm.go:84: [debug] parse error at (kube-prometheus-stack/templates/grafana/dashboards-1.14/redis.json:687): function "input" not defined
INSTALLATION FAILED
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:147
github.com/spf13/cobra.(Command).execute
github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(Command).ExecuteC
github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.6.1/command.go:968
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1598
What's your helm version?
v3.12.2
What's your kubectl version?
v1.27.3
Which chart?
kube-prometheus-stack
What's the chart version?
47.3.0
What happened?
No response
What you expected to happen?
No response
How to reproduce it?
No response
Enter the changed values of values.yaml?
No response
Enter the command that you execute and failing/misfunctioning.
Describe the bug a clear and concise description of what the bug is.
hi, I want to add extra dashboard in the grafana deployed by kube-prometheus-stack. I found the file "kube-prometheus-stack/templates/grafana/configmap-dashboards.yaml" is used to load the configmap for the grafana dashboard. So I followed the code logic, and added a json file which is exported by the grafana in the "dashboards-1.14" directory, dry run. I got the error:
error log with dry run: install.go:200: [debug] Original chart version: "" install.go:217: [debug] CHART PATH: C:\Users\mauc\projects\tencent\iac\terraform\helm\kube-prometheus-stack
install.go:240: [debug] WARNING: This chart or one of its subcharts contains CRDs. Rendering may fail or contain inaccuracies. Error: INSTALLATION FAILED: parse error at (kube-prometheus-stack/templates/grafana/dashboards-1.14/redis.json:687): function "input" not defined helm.go:84: [debug] parse error at (kube-prometheus-stack/templates/grafana/dashboards-1.14/redis.json:687): function "input" not defined INSTALLATION FAILED main.newInstallCmd.func2 helm.sh/helm/v3/cmd/helm/install.go:147 github.com/spf13/cobra.(Command).execute github.com/spf13/cobra@v1.6.1/command.go:916 github.com/spf13/cobra.(Command).ExecuteC github.com/spf13/cobra@v1.6.1/command.go:1044 github.com/spf13/cobra.(*Command).Execute github.com/spf13/cobra@v1.6.1/command.go:968 main.main helm.sh/helm/v3/cmd/helm/helm.go:83 runtime.main runtime/proc.go:250 runtime.goexit runtime/asm_amd64.s:1598
What's your helm version?
v3.12.2
What's your kubectl version?
v1.27.3
Which chart?
kube-prometheus-stack
What's the chart version?
47.3.0
What happened?
No response
What you expected to happen?
No response
How to reproduce it?
No response
Enter the changed values of values.yaml?
No response
Enter the command that you execute and failing/misfunctioning.
helm install prometheus . -n prome -f .\prometheus.yaml --dry-run --debug
Anything else we need to know?
No response