Skip to content

Commit

Permalink
Merge pull request #115 from kurokobo/pvc
Browse files Browse the repository at this point in the history
fix: correct if statement for postgres_storage_class
  • Loading branch information
rooftopcellist authored Aug 10, 2023
2 parents b24ca21 + a56df73 commit a6b35fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/postgres/templates/postgres.statefulset.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
spec:
accessModes:
- ReadWriteOnce
{% if postgres_storage_class is defined %}
{% if combined_database.postgres_storage_class is defined %}
storageClassName: '{{ combined_database.postgres_storage_class }}'
{% endif %}
resources: {{ combined_database.storage_requirements }}

0 comments on commit a6b35fc

Please sign in to comment.