zalando / postgres-operator

Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
https://postgres-operator.readthedocs.io/
MIT License
4.39k stars 983 forks source link

Support Annotations on Volume in CRD #2556

Open therealdwright opened 9 months ago

therealdwright commented 9 months ago

I would like to propose adding an additional field to the volume spec in the operator of annotations that behaves the same as any other annotation spec in Kubernetes. The reason I would like this feature is we use the aws-ebs-csi-driver, which supports tuning volume resources via annotation such as provisioned IOPS and throughput which is something we routinely need to do for our Postgres deployments.

FxKu commented 7 months ago

So you mean a config options like podAnnotatoions or serviceAnnotations but for PVCs? Sounds doable. You want to create a PR for it?