Joxit / helm-charts

Official Helm Chart Repository for Joxit Applications
https://helm.joxit.dev/
MIT License
12 stars 7 forks source link

Unable to use persistent valume from existing claim #3

Closed justinwoodland closed 2 years ago

justinwoodland commented 2 years ago

I'm trying to set a registry volume with persistentVolumeClaim instead of an emptyDir, but setting values.yaml like:

registry:
  dataVolume:
    persistentVolumeClaim:
      claimName: "registry"

results in a rendered template like:

...
      volumes:
        - name: data
          emptyDir: {}
          persistentVolumeClaim:
            claimName: registry
...

The default values.yaml sets:

registry:
  dataVolume:
    emptyDir: {}

so it appears that the chart is merging the two objects instead of replacing it.

I'm not sure how to get around this.

Joxit commented 2 years ago

Hi, thank you for using my project and submitting an issue :smile:

Issue confirmed, I will fix this ASAP

Joxit commented 2 years ago

Hi again, this may be fixed in 0.2.1 :rocket: