Skip to content

Enabling mediaVolume fails to render #31

Open
@kopparam

Description

@kopparam

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??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions