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

Enabling mediaVolume fails to render #31

Open
kopparam opened this issue Jun 21, 2024 · 0 comments
Open

Enabling mediaVolume fails to render #31

kopparam opened this issue Jun 21, 2024 · 0 comments

Comments

@kopparam
Copy link

Steps to reproduce:

  1. helm install --set mediaVolume.enabled=true my-paperless oci://harbor.crystalnet.org/charts/romm

Expected:
Install the chart

Actual:

  Executing helm template romm /tmp/helmfile2876322527/romm/romm/romm/0.2.20/romm --version 0.2.20 --namespace romm --values /tmp/helmfile3434015519/romm-romm-values-688c74b596 --values /tmp/helmfile565099040/romm-romm-values-6dbcdd9cdc --validate --is-upgrade --dry-run=client
  Error: Failed to render chart: exit status 1: install.go:222: [debug] Original chart version: "0.2.20"
  install.go:239: [debug] CHART PATH: /tmp/helmfile2876322527/romm/romm/romm/0.2.20/romm
  Error: template: romm/templates/storage-media.yaml:14:10: executing "romm/templates/storage-media.yaml" at <include "common.labels.matchLabels" $>: error calling include: template: no template "common.labels.matchLabels" associated with template "gotpl"
  helm.go:84: [debug] template: romm/templates/storage-media.yaml:14:10: executing "romm/templates/storage-media.yaml" at <include "common.labels.matchLabels" $>: error calling include: template: no template "common.labels.matchLabels" associated with template "gotpl"
  Error: plugin "diff" exited with error
  helm.go:84: [debug] plugin "diff" exited with error

Looks like https://github.com/CrystalNET-org/helm-romm/blob/main/chart/templates/storage-media.yaml#L14 is the offending line. Need to define these in _helpers.tpl??

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