mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Add storage-class definition for postgres pod
This commit is contained in:
@@ -53,6 +53,10 @@ spec:
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: postgres
|
||||
{% if tower_postgres_storage_class is defined %}
|
||||
annotations:
|
||||
volume.beta.kubernetes.io/storage-class: '{{ tower_postgres_storage_class }}'
|
||||
{% endif %}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
Reference in New Issue
Block a user