mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
* 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>
57 lines
1.2 KiB
Django/Jinja
57 lines
1.2 KiB
Django/Jinja
---
|
|
apiVersion: awx.ansible.com/v1beta1
|
|
kind: AWX
|
|
metadata:
|
|
name: example-awx
|
|
labels:
|
|
my/team: "foo"
|
|
my/service: "bar"
|
|
my/do-not-inherit: "yes"
|
|
spec:
|
|
{% if awx_image %}
|
|
image: {{ awx_image }}
|
|
{% endif %}
|
|
{% if awx_version %}
|
|
image_version: {{ awx_version }}
|
|
{% endif %}
|
|
{% if awx_ee_image %}
|
|
control_plane_ee_image: {{ awx_ee_image }}
|
|
ee_images:
|
|
- image: {{ awx_ee_image }}
|
|
name: AWX EE
|
|
{% endif %}
|
|
ingress_type: ingress
|
|
ingress_path: /awx
|
|
ingress_annotations: |
|
|
kubernetes.io/ingress.class: nginx
|
|
web_resource_requirements:
|
|
requests:
|
|
cpu: 20m
|
|
memory: 32M
|
|
task_resource_requirements:
|
|
requests:
|
|
cpu: 20m
|
|
memory: 32M
|
|
ee_resource_requirements:
|
|
requests:
|
|
cpu: 20m
|
|
memory: 16M
|
|
no_log: false
|
|
postgres_resource_requirements: {}
|
|
redis_resource_requirements: {}
|
|
additional_labels:
|
|
- my/team
|
|
- my/service
|
|
extra_settings:
|
|
- setting: LOG_AGGREGATOR_LEVEL
|
|
value: "'DEBUG'"
|
|
task_readiness_period: 15
|
|
{% if additional_fields is defined %}
|
|
{{ additional_fields | to_nice_yaml | indent(2) }}
|
|
{% endif %}
|
|
postgres_extra_settings:
|
|
- setting: max_connections
|
|
value: "499"
|
|
- setting: ssl_ciphers
|
|
value: "HIGH:!aNULL:!MD5"
|