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>
17 lines
529 B
Django/Jinja
17 lines
529 B
Django/Jinja
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: '{{ ansible_operator_meta.name }}-postgres-extra-settings'
|
|
namespace: '{{ ansible_operator_meta.namespace }}'
|
|
labels:
|
|
{{ lookup("template", "../common/templates/labels/common.yaml.j2") | indent(width=4) | trim }}
|
|
data:
|
|
99-overrides.conf: |
|
|
{% for pg_setting in postgres_extra_settings %}
|
|
{% if pg_setting.value is string %}
|
|
{{ pg_setting.setting }} = '{{ pg_setting.value }}'
|
|
{% else %}
|
|
{{ pg_setting.setting }} = {{ pg_setting.value }}
|
|
{% endif %}
|
|
{% endfor %}
|