mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 22:02:53 +00:00
* Bump Postgresql, Nginx and Redis versions * pg12 --> pg13 upgrade path * Set supported pg version as a variable to remain DRY * Make deleting the old db data pvc after upgrade configurable * Use labels to find the postgres pod * backup/restore: fix postgres label selector value We need to use the deployment_name variable for the postgres instance name. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> * backup/restore: add missing default supported_pg_version variable Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> * restore: update database_host fact with pg suffix Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> Co-authored-by: Dimitri Savineau <dsavinea@redhat.com>
16 lines
561 B
YAML
16 lines
561 B
YAML
---
|
|
|
|
deployment_type: "awx"
|
|
_postgres_image: postgres
|
|
_postgres_image_version: 13
|
|
|
|
backup_api_version: '{{ deployment_type }}.ansible.com/v1beta1'
|
|
backup_kind: 'AWXBackup'
|
|
|
|
# set default secret names to be used if a backup dir and claim are provided (not a backup_name)
|
|
secret_key_secret: '{{ deployment_name }}-secret-key'
|
|
admin_password_secret: '{{ deployment_name }}-admin-password'
|
|
broadcast_websocket_secret: '{{ deployment_name }}-broadcast-websocket'
|
|
postgres_configuration_secret: '{{ deployment_name }}-postgres-configuration'
|
|
supported_pg_version: 13
|