netbox-community / netbox-chart

A Helm chart for NetBox
https://netbox.readthedocs.io/
Apache License 2.0
258 stars 153 forks source link

Failing after splitting python files from ConfigMap #340

Closed devasmith closed 1 month ago

devasmith commented 2 months ago

Hi,

I noticed that when upgrading Netbox helmrelease to netbox@5.0.0-beta.90 I got the following error message:

    message: 'Helm upgrade failed for release netbox/netbox with chart netbox@5.0.0-beta.90:
      template: netbox/templates/worker-deployment.yaml:28:28: executing "netbox/templates/worker-deployment.yaml"
      at <include (print $.Template.BasePath "/configmap.yaml") .>: error calling
      include: template: netbox/templates/configmap.yaml:170:13: executing "netbox/templates/configmap.yaml"
      at <.Files.Get>: can''t evaluate field Files in type interface {}'

Can this be related to this PR? https://github.com/netbox-community/netbox-chart/pull/327

LeoColomb commented 2 months ago

Thanks for opening this issue. Indeed, and a fix is already under its way: #341