Closed imgios closed 4 weeks ago
Hi @imgios, @fonzdm ,
I will take this and will try to fix it! 😄
Hi @imgios, @fonzdm ,
I will take this and will try to fix it! 😄
Welcome aboard!
Feel free to create your first contribution, just make sure you read the guidelines 😊
Hi @imgios, @fonzdm ,
I will take this and will try to fix it! 😄
Hi @mrgionsi, please go ahead! 💪🏻
Issue fixed in #18. Thanks again, @mrgionsi!
This is still happening on latest 1.0.1
Note i haven't downloaded the chart - maybe that's the reason yaml anchors are not working?
Why are yaml anchors needed anyway? in helm this is not needed
helm upgrade -i --namespace servarr --create-namespace --repo https://fonzdm.github.io/servarr --values values.yml servarr servarr --debug
global:
apikey: &apikey "aaa-bbb-ccc-ddd"
storageClassName: &storageClassName "longhorn"
ingressClassName: &ingressClassName "nginx"
certManagerClusterIssuer: &issuer "clusterissuer-self-signed"
metrics:
enabled: &metricsEnabled false
Hi @emouawad, thanks for the feedback. Can you please open a separated issue? I will link it to this one.
Description
Seems like that the storage class named passed in the values
global.storageClassName
is not being used correctly when creating the PVC, so Kubernetes uses the default storage class.I think that's because there's a typo when referring to the parameter:
https://github.com/fonzdm/servarr/blob/d08a0a606a7cdd5f0d3c51ecfa9901c597643fa4/servarr/templates/pvc.yaml#L12
https://github.com/fonzdm/servarr/blob/d08a0a606a7cdd5f0d3c51ecfa9901c597643fa4/servarr/templates/pvc.yaml#L33
https://github.com/fonzdm/servarr/blob/d08a0a606a7cdd5f0d3c51ecfa9901c597643fa4/servarr/templates/pvc.yaml#L54
Steps to reproduce
helm template servarr servarr/ -f .github/ci/ci-values.yaml | egrep -i "servarr/templates/pvc.yaml|storageClassName"
or deploy it using your values.Expected behavior
The Helm Chart should generate PVC templates using the correct
StorageClassName
from the values.Servarr Helm Chart version
dev
Relevant log output
Chart values
Code of Conduct