cetic / helm-postgresql

Helm Chart for postgresql
Apache License 2.0
47 stars 33 forks source link

Honor storageClass in volumeClaimTemplate of StatefulSet. #11

Closed saretter closed 2 years ago

saretter commented 3 years ago

What this PR does / why we need it:

Honors the variable persistence.storageClass by adding storageClassName to volumeClaimTemplates in StatefulSet if this variable is set.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer:

Tried to keep the change as minimal as possible.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]