rakesh561
43c1f396c3
Updated image pull policy for backup and restore policy as variable ( #1473 )
2023-07-05 14:39:43 -04:00
Mathijsvw
4ee523ed69
Added pg_dump_suffix doc and crd property ( #1006 )
...
* Added pg_dump_suffix crd property
Signed-off-by: Mathijs van Willigen <mathijs.vanwilligen@student.hu.nl >
2022-12-14 14:56:40 -05:00
Christian Adams
9f017d03e6
Make Backup & restore requests and limits configurable ( #1030 )
...
* Add resource specification options to the backup objects
* Add resource specification options to the restore object
Co-authored-by: Ivan Aragonés <26822043+ivarmu@users.noreply.github.com >
Co-authored-by: silvinux <silvinux7@gmail.com >
Co-authored-by: Ivan Aragonés Muniesa <iaragone@redhat.com >
2022-08-23 23:23:01 -04:00
Christian Adams
b3037c1067
Deprecate the backup_pvc_namespace field ( #988 )
...
- Removes backup_pvc_namespace field from OLM forms
- This field has created confusion for users and there is no strong
case for needing this functionality
- Users will still be able to add it to the yaml for the CR if they
want to use it with the cluster-scoped AWX operator
- Remove unneeded advanced descriptors to avoid empty Advanced
configuration expander
fixes AAP-1176
2022-07-18 17:35:11 -04:00
Viviana Capote
05943687fe
Added option to also delete backup directory on PVC when AWXBackup CRD object is deleted
2022-06-27 15:45:33 +10:00
Christian M. Adams
8af0681373
Persist secret names from old deployment & add them to the spec
...
- renamed some more variables to be consistent with the pulp-operator
- removed unneeded vars from backup & restore crds
- added a way to parse spec at restore time by including vars to
get around the issue of triply nested quotes when using to_json
2021-05-04 10:06:29 -04:00
Christian M. Adams
5ae36367a4
Rename product specific variable names
2021-04-30 10:49:31 -04:00
Christian M. Adams
c817a2234d
Simplify vars needed for restore CR & do not garbage collect secrets
2021-04-30 10:49:31 -04:00
Christian M. Adams
867bc258b9
Allow custom postgres pod label to support user managed pg pods
...
- Only set resolvable pg host path for pg container when managed
2021-04-30 10:49:30 -04:00
Christian M. Adams
ff9248e971
create pvc in namespace of old awx by default, update docs, fix bug with secret statuses
2021-04-30 10:49:30 -04:00
Christian M. Adams
5b32c41277
Fix retry for checking postgres pod & fix secrets template
...
- fixed a lot of typos & updated the README.md files
2021-04-30 10:24:37 -04:00
Christian M. Adams
0580398c90
Finish db restore logic
...
- rename _backup_dir to backup_dir
- add towerBackupClaim status to make the pvc name easier to find for users
2021-04-30 10:24:36 -04:00
Christian M. Adams
e1dca00f46
Fix backup reconciliation loop, add error status
2021-04-30 10:24:35 -04:00
Christian M. Adams
4839bdcaad
Rename Backup CR to AWXBackup to be more unique
...
- we could alternatively direct users to use the full GVK. Issue is potential conflict with AH operator CRs
2021-04-30 10:24:34 -04:00
Christian M. Adams
13397f41ad
use meta.data to keep pods and pvcs unique in the same namespace
2021-04-30 10:24:34 -04:00
Christian M. Adams
9e44e21a66
Rename pvc name var to be consistent with other backup variables
2021-04-30 10:24:34 -04:00
Christian M. Adams
54efda1a25
Use default cluster storage class if none is provided
2021-04-30 10:24:34 -04:00
Christian M. Adams
bcd1410438
init backup CR files
2021-04-30 10:24:33 -04:00