mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Adding postgres annotations support (#1829)
* Adding postgres annotations support Authored-by: Imed Aouidene <imaouide@imaouide-thinkpadt14sgen2i.cdg.csb>
This commit is contained in:
@@ -212,6 +212,12 @@ task_annotations: ''
|
||||
# my.web-annotation/2: value2
|
||||
web_annotations: ''
|
||||
|
||||
# Add annotations to postgres pod. Specify as literal block. E.g.:
|
||||
# postgres_annotations: |
|
||||
# my.annotation/1: value
|
||||
# my.annotation/2: value2
|
||||
postgres_annotations: ''
|
||||
|
||||
admin_user: admin
|
||||
admin_email: test@example.com
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ spec:
|
||||
app.kubernetes.io/component: 'database'
|
||||
app.kubernetes.io/part-of: '{{ ansible_operator_meta.name }}'
|
||||
app.kubernetes.io/managed-by: '{{ deployment_type }}-operator'
|
||||
{% if postgres_annotations %}
|
||||
{{ postgres_annotations | indent(width=8) }}
|
||||
{% endif %}
|
||||
spec:
|
||||
{% if image_pull_secret is defined %}
|
||||
imagePullSecrets:
|
||||
|
||||
Reference in New Issue
Block a user