Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error rendering iot-agent lwm2m template #62

Open
c0c0n3 opened this issue Jul 16, 2020 · 0 comments
Open

Error rendering iot-agent lwm2m template #62

c0c0n3 opened this issue Jul 16, 2020 · 0 comments

Comments

@c0c0n3
Copy link
Member

c0c0n3 commented Jul 16, 2020

The iot-agent chart can't be generated when service.agentType is set to: lwm2m. It stops with a rendering error.

To reproduce:

  1. Edit charts/iot-agent/values.yaml to set agentType: lwm2m in the service stanza.
  2. Run helm install charts/iot-agent --debug --dry-run

You should see an error similar to:

[debug] CHART PATH: /Users/andrea/github/orchestracities.charts/charts/iot-agent

Error: render error in "iot-agent/templates/configmap-lwm2m.yaml":
  template: iot-agent/templates/configmap-lwm2m.yaml:17:29:
    executing "iot-agent/templates/configmap-lwm2m.yaml" at <.Values.lwm2m.logLevel>:
      nil pointer evaluating interface {}.logLevel

Tested with Helm client version v2.13.1 and server v2.14.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant