mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
Merge pull request #7750 from Orabig/devel
Allow to use an existing PVC for postgresql install with Helm Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -26,6 +26,7 @@ dockerhub_base=ansible
|
||||
# pg_serviceaccount=awx
|
||||
# pg_volume_capacity=5
|
||||
# pg_persistence_storageClass=StorageClassName
|
||||
# pg_persistence_existingclaim=postgres_pvc
|
||||
# pg_cpu_limit=1000
|
||||
# pg_mem_limit=2
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ persistence:
|
||||
{% if pg_persistence_storageClass is defined %}
|
||||
storageClass: {{ pg_persistence_storageClass }}
|
||||
{% endif %}
|
||||
{% if pg_persistence_existingclaim is defined %}
|
||||
existingClaim: {{ pg_persistence_existingclaim }}
|
||||
{% endif %}
|
||||
{% if pg_cpu_limit is defined or pg_mem_limit is defined %}
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user