redis does not get storageclass from helm_options.yaml
Summary
When declaring the storageclass for the volumes in the chart redis does not get this storageclass. Could this have something to do with the values.yaml that is also being passed?
Steps to reproduce
use the helm_options.yaml for configuring PVC's with the command: helm install gitlab gitlab/gitlab -f helm_options.yaml --values values.yaml
Configuration used
gitlab:
gitaly:
persistence:
storageClass: <storageclass>
size: 5Gi
postgresql:
persistence:
storageClass: <storageclass>
size: 5Gi
minio:
persistence:
storageClass: <storageclass>
size: 5Gi
redis:
persistence:
storageClass: <storageclass>
size: 5Gi
Current behavior
Mounted By: gitlab-redis-master-0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal FailedBinding <invalid> (x10 over <invalid>) persistentvolume-controller no persistent volumes available for this claim and no storage class is set
Expected behavior
A pvc with a storage class defined given in the helm_options.yaml.
Versions
- Chart: 3.2.1
- Platform:
- Self-hosted: Kubernetes (CentOS 7)
- Kubernetes: (
kubectl version
)- Client: Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", Bu ildDate:"2020-03-12T21:03:42Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
- Server:Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", Bu ildDate:"2020-03-25T14:50:46Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
- Helm: (
helm version
)- Client: version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"}
- Server: