postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Default storageClass is ignored

Open lkhomenk opened this issue 7 years ago • 1 comments

Describe the bug If no StorageClass was specified in storage configuration part in pgo.yaml - default environment default StorageClass is ignored, while pvc has empty storageClassName - https://github.com/CrunchyData/postgres-operator/blob/master/conf/postgres-operator/pvc-storageclass.json#L15

To Reproduce Steps to reproduce the behavior:

  1. Have a default storageClass setup in the k8s/okd
  2. Configure pgo.yaml to use dynamic pvc without specifying storageClass
  3. Create cluster
  4. Check pvc creation events/logs/yaml - empty storageClassName will fail pvc creation

Expected behavior Default StorageClass might be nice to consider

Please tell us about your environment:

  • Container Image Tag: 2.3.0
  • PostgreSQL Version: 10
  • Platform (Docker, Kubernetes, OpenShift): Openshift
  • Platform Version: 3.5.0

lkhomenk avatar Feb 20 '19 20:02 lkhomenk

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 21 '19 20:04 stale[bot]