Commit Graph

501 Commits

Author SHA1 Message Date
Christian Adams
aed4d07cf1 Merge pull request #295 from rooftopcellist/scale_down_restore
Scale down the new deployment before restoring
2021-05-07 15:03:48 -04:00
Christian M. Adams
ca8127448e Scale down the new deployment before restoring 2021-05-07 11:18:40 -04:00
Christian Adams
e082180cf9 Merge pull request #293 from Zokormazo/restore-kind
Restore: set proper kind var after deploying AWX CR
2021-05-07 09:23:02 -04:00
Christian Adams
df2522fa8d Merge pull request #283 from rooftopcellist/fix-lint-errors
Fix file permissions for tmp spec vars file
2021-05-07 09:10:25 -04:00
Julen Landa Alustiza
fc4687ff77 Restore: set proper kind var after deploying AWX CR
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com>
2021-05-07 13:31:29 +02:00
Shane McDonald
9cca0d0520 Merge pull request #287 from AlanCoding/include_playbook
Make awx-operator compatible with Ansible 2.12
2021-05-06 11:05:19 -04:00
Alan Rominger
521648925c Make awx-operator compatible with Ansible 2.12 2021-05-06 10:49:01 -04:00
Yanis Guenane
bc1814ce95 Merge pull request #282 from Spredzy/olm_backup_and_restore
olm-catalog: Update with latest content from AWXBackup and AWXRestore
2021-05-05 17:26:20 +02:00
Christian M. Adams
c551d05182 Fix file permissions for tmp spec vars file 2021-05-05 09:35:03 -04:00
Yanis Guenane
ce0a251c1c olm-catalog: Update with latest content from AWXBackup and AWXRestore 2021-05-05 10:37:23 +02:00
Christian Adams
51dd524579 Merge pull request #279 from rooftopcellist/persist-secrets
Persist secret names from old deployment & add them to the spec
2021-05-04 14:59:28 -04:00
Christian M. Adams
9532cc754e Use copy module, not shell 2021-05-04 14:28:59 -04:00
Christian M. Adams
15bc12b7f6 Remove ownerReferences based on secret name from backup 2021-05-04 11:46:09 -04:00
Christian M. Adams
a46938e1be Retrieve pg secret values consistently, do not hardcode secret names 2021-05-04 10:06:39 -04: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 Adams
bd6a5c3156 Merge pull request #133 from rooftopcellist/backup-role
Backup role for awx-operator
2021-05-03 15:36:04 -04:00
Marcelo Moreira de Mello
e7fd1e265f Merge pull request #271 from tchellomello/changelog
Added initial CHANGELOG.md
2021-05-03 13:18:42 -04:00
Marcelo Moreira de Mello
42b39eda40 Merge pull request #264 from ansible/tchellomello-bugreport-template
Updated bug report template
2021-05-03 13:18:25 -04:00
Marcelo Moreira de Mello
b50cf82639 Added initial CHANGELOG.md 2021-05-03 11:44:47 -04:00
Shane McDonald
8772d0eec5 Merge pull request #266 from shanemcd/bump-19.1.0
Bump 19.1.0
0.9.0
2021-05-01 10:27:39 -04:00
Shane McDonald
ca20dcf053 Use 'admin' username in tests 2021-05-01 09:39:50 -04:00
Shane McDonald
67a650ce38 Remove isolated logger from configmap
Isolated nodes have been removed in upstream AWX
2021-05-01 09:32:09 -04:00
Shane McDonald
acb443432e Bump version 2021-05-01 08:18:30 -04:00
Shane McDonald
3f2bb3e5db Regenerate files 2021-05-01 08:18:13 -04:00
Shane McDonald
c318611561 Bump AWX version 2021-05-01 07:45:18 -04:00
Shane McDonald
77e7039a2e Update playbook to allow for deploying custom image version/tag 2021-05-01 07:44:53 -04:00
Marcelo Moreira de Mello
b7e043eca8 Update bug_report.md 2021-04-30 13:53:59 -04:00
Marcelo Moreira de Mello
78d03e03bb Updated bug report template 2021-04-30 13:52:09 -04:00
Christian M. Adams
5e2d11835e Fix rebase issue & remove dynamic kind/version var setting 2021-04-30 13:51:48 -04:00
Marcelo Moreira de Mello
8656ee1a1d Merge pull request #263 from tchellomello/projects
Mounts /var/lib/awx/projects on awx-web container
2021-04-30 13:46:17 -04:00
Marcelo Moreira de Mello
f21ec4de61 Mounts /var/lib/awx/projects on awx-web container 2021-04-30 13:31:31 -04:00
Christian M. Adams
cdbaf9460e Remove unnecessary intermediate awx_spec var 2021-04-30 10:49:32 -04:00
Christian M. Adams
5439681a39 Fix rebase issue due to order or pg config tasks 2021-04-30 10:49:32 -04:00
Christian M. Adams
9cfb7921bc update templated files with new var names 2021-04-30 10:49:32 -04:00
Christian M. Adams
36852cd5f5 remove unused variables in restore role 2021-04-30 10:49:32 -04:00
Christian M. Adams
b5c5a1722d revert unneccesary admin password update 2021-04-30 10:49:31 -04:00
Christian M. Adams
5ae36367a4 Rename product specific variable names 2021-04-30 10:49:31 -04:00
Christian M. Adams
d743936ee4 Update admin user password with value in provided/generated secret 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
57f9530198 Simplify pvc naming scheme, one pvc per deployment 2021-04-30 10:49:31 -04:00
Christian M. Adams
3e444da7bc Set ownerRef to null for restore created AWX object to avoid garbage collection
- Set defaults for pg type to satisfy conditional
2021-04-30 10:49:30 -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
38a6a02f85 Add secret names as statuses on the AWX object
- set migrate data status even if custom name for old postgres config is not used
 - Allow users to change pg name, pw & db name for a managed postgres
 - set default value for postgres-configuration type as unmanaged if secret is created
 - Make pg port configurable for managed deployments
2021-04-30 10:49:27 -04:00
Christian M. Adams
90f4d71606 Make pg port configurable for managed deployments 2021-04-30 10:32:07 -04:00
Christian M. Adams
8f760e2842 Allow users to change pg name, pw & db name for a managed postgres
- set default value for postgres-configuration type as unmanaged if secret is created
2021-04-30 10:32:05 -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
fb612c24df Only write values for spec section of awx object in backup 2021-04-30 10:24:37 -04:00
Christian M. Adams
8ed0b1fe61 Template only what is needed from secrets and awx cro 2021-04-30 10:24:37 -04:00
Christian M. Adams
82efe05343 store secrets & definitions in a tempfile dir, fix postgres label 2021-04-30 10:24:36 -04:00