Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

persistence.storageClass not honored #7

@tushar-hv

Description

@tushar-hv

It appears that the persistence.storageClass is documented but is not being honored on deployment. When deploying, if I choose a specific storageClass, it still deploys with the default one configured for the cluster.

$ kubectl get storageclass
NAME                        PROVISIONER                                                RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
hostpath (default)          docker.io/hostpath                                         Delete          Immediate              false                  7d21h
openebs-device              openebs.io/local                                           Delete          WaitForFirstConsumer   false                  2d15h
openebs-hostpath            openebs.io/local                                           Delete          WaitForFirstConsumer   false                  2d15h
openebs-jiva-default        openebs.io/provisioner-iscsi                               Delete          Immediate              false                  2d15h
openebs-snapshot-promoter   volumesnapshot.external-storage.k8s.io/snapshot-promoter   Delete          Immediate              false                  2d15h
$ helm install t1 cetic/postgresql --set persistence.storageClass=openebs-hostpath
$ kubectl get pvc
NAME                   STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
data-t1-postgresql-0   Bound    pvc-7e431d33-34bb-469f-9b2c-ff39f1791721   10Gi       RWO            hostpath       2m16s

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