Stanislav Zaprudskiy
5a856eeba8
Add additional_labels parameter ( #1160 )
...
* Move label templates into `common` role
So that there is single source of labels management, and labels are
unified across the other roles
* Introduce `additional_labels`
* Fix paths for labels templates
* Return `additional_labels_items` as list
* Add molecule tests
2023-01-30 18:51:08 -05:00
Shane McDonald
e97def4429
meta -> ansible_operator_meta
2021-09-29 18:39:24 -04:00
Christian M. Adams
42141cd159
Do not clean up pvc when awxbackup cr is deleted
...
- This is accomplished by explicitly setting ownerRefs to null
2021-06-15 12:23:04 -04:00
Marcelo Moreira de Mello
08776ca2b6
Extended labels to AWX Backup/Restore
2021-05-17 21:40:37 -04:00
Christian M. Adams
82ed9d6d56
Default to storage class being undefined
...
* This is so that users can intentially set it to an empty string if they want to use the default storage class
* conversely, now users can manually create a pvc that does not utilize the default storage class
2021-05-17 16:41:53 -04:00
Christian M. Adams
5ae36367a4
Rename product specific variable names
2021-04-30 10:49:31 -04:00
Christian M. Adams
57f9530198
Simplify pvc naming scheme, one pvc per deployment
2021-04-30 10:49:31 -04:00
Christian M. Adams
5669747bbf
Scope pvc and management pod to default namespace
...
- make this configurable via tower_backup_pvc_namespace var
- remove redundant k8s task info
2021-04-30 10:24:36 -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
Christian M. Adams
4a5ca184c0
Use storage class to dynamically create volume for backups
2021-04-30 10:24:33 -04:00
Christian M. Adams
e037feafbf
Create management pod and pvc for backup
2021-04-30 10:24:33 -04:00
Christian M. Adams
0220c75884
wip deployment podspec or sts
2021-04-30 10:24:33 -04:00