drogue-iot / drogue-cloud

Cloud Native IoT
https://drogue.io
Apache License 2.0
113 stars 30 forks source link

Error in charts when deploying with metrics #225

Closed jbtrystram closed 2 years ago

jbtrystram commented 2 years ago

When executing : ./scripts/drgadm deploy -M

The script fails with :

Error: template: install/charts/drogueCloudMetrics/templates/grafana/grafana-datasource-secret.yaml:25:7: executing "install/charts/drogueCloudMetrics/templates/grafana/grafana-datasource-secret.yaml" at <len .Values.grafana.datasource.token>: error calling len: len of nil pointer

which points to : https://github.com/drogue-iot/drogue-cloud-helm-charts/blob/main/charts/drogue-cloud-metrics/templates/grafana/grafana-datasource-secret.yaml#L25-28 It looks like the httpHeaderName1 is unexpected but i can't find what's wrong with it.