presslabs / docker-orchestrator

github's orchestrator docker image and helm chart
2 stars 3 forks source link

Helm values.yml persistence ignored #6

Open davidschrooten opened 5 years ago

davidschrooten commented 5 years ago

PVC's are being created with filesystem and not with storageclass defined in the values.yml.

AMecea commented 5 years ago

Hi @davidq2q , can you please provide more details?

I've checked it and the chart generates it correctly.

$ helm template charts/orchestrator --set persistence.storageClass=xyz
...
  volumeClaimTemplates:
    - metadata:
        name: data
      spec:
        accessModes: [ ReadWriteOnce ]
        resources:
          requests:
            storage: 1Gi
        storageClassName: "xyz"
...
davidschrooten commented 5 years ago

I am not using it anymore. Made my own galera kubernetes configuration. But from what I remembered is that neither setting the storageClassName in the values.yml nor setting the storageClassName as a helm cli attribute worked.