mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Add postgres_extra_settings (#2071)
* Add hacking/ directory to .gitignore as it is commonly used for dev scripts * Add postgres_extra_settings * Add postgres_configuration_secret checksum to DB statefulset * Docs for postgres_extra_settings, CI coverage, and examples --------- Co-authored-by: Christian M. Adams <chadams@redhat.com>
This commit is contained in:
30
dev/awx-cr/awx-db-configuration.cr.yml
Normal file
30
dev/awx-cr/awx-db-configuration.cr.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
apiVersion: awx.ansible.com/v1beta1
|
||||
kind: AWX
|
||||
metadata:
|
||||
name: awx
|
||||
spec:
|
||||
service_type: clusterip
|
||||
ingress_type: Route
|
||||
|
||||
postgres_extra_settings:
|
||||
- setting: max_connections
|
||||
value: "999"
|
||||
- setting: ssl_ciphers
|
||||
value: "HIGH:!aNULL:!MD5"
|
||||
|
||||
# requires custom-postgres-configuration secret to be pre-created
|
||||
# postgres_configuration_secret: custom-postgres-configuration
|
||||
|
||||
postgres_resource_requirements:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 800m
|
||||
memory: 1Gi
|
||||
postgres_storage_requirements:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
limits:
|
||||
storage: 100Gi
|
||||
Reference in New Issue
Block a user