Marcelo Moreira de Mello
f2e43db37c
Added ability to trust a custom bundle CA
2021-06-18 01:48:50 -04:00
Yanis Guenane
0f4cc52e71
EE: Allow one to specify resource requirements
2021-06-17 12:44:12 +02:00
Yanis Guenane
3899365da7
EE: Allow one to specify extra environment variable
2021-06-17 10:43:52 +02:00
Christian M. Adams
bfec61ad8d
Dynamically collect secrets for backup & restore roles
...
- This prevents us from overwriting vars unintentionally at restore time
- This will make it easier to add secrets to be backed up in the future
- Add generated secret names to awx spec backup
- Fail early if secret status doesn't exist
- Skip if secret is not in spec for non-generated secrets
- Secret values must be b64 decoded before secret is created
- Cleanup temp files
2021-06-15 14:17:02 -04:00
Yanis Guenane
754ad98d3c
Do not specify unneeded default
2021-06-14 09:33:39 +02:00
Christian Adams
f1b1293f5f
Merge pull request #372 from rooftopcellist/fail-loud
...
Fail task if pg_dump fails in backup role
2021-06-09 10:58:15 -04:00
Elijah DeLee
c4d197f5ce
add type to control_plane_ee_image
2021-06-08 16:56:19 -04:00
Julen Landa Alustiza
1fc22749a5
Use awx-manage register_default_execution_environments
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-06-08 16:56:17 -04:00
Shane McDonald
2622e0e111
Merge pull request #361 from Zokormazo/control-plane-ee
...
Use own attribute for control_plane_ee
2021-06-07 15:43:30 -04:00
Christian M. Adams
69b3f43414
Make postgres image and version separately configurable for backup/restore
...
- Update templated and generated manifest files
2021-06-04 11:00:50 -04:00
Christian M. Adams
ead7532c3c
Add statuses to schemas for awxbackup and awxrestore objects
...
- Fix small docstring typos
2021-06-03 09:22:04 -04:00
Julen Landa Alustiza
83e46ee84b
Use own attribute for control_plane_ee
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-06-02 14:55:53 +02:00
Marcelo Moreira de Mello
e37c091d17
Make tower_ingress_type to respect ClusterIP definition
2021-06-01 15:42:39 -04:00
Marcelo Moreira de Mello
446ac0b190
Added ability to specify annotations to ServiceAccount
2021-05-25 12:16:16 -04:00
Yanis Guenane
75458d0678
Do not prepend variables name with tower_
2021-05-25 09:52:13 +02:00
Christian Adams
8519ff93b2
Merge pull request #272 from kimbernator/devel
...
Add support for custom service labels
2021-05-10 15:18:31 -04:00
Yanis Guenane
ce0a251c1c
olm-catalog: Update with latest content from AWXBackup and AWXRestore
2021-05-05 10:37:23 +02: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
Jeremy Kimber
fd42802512
Add support for custom service labels
2021-05-03 10:20:56 -05:00
Christian M. Adams
9cfb7921bc
update templated files with new var names
2021-04-30 10:49:32 -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
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
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
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
8467209d35
init restore
2021-04-30 10:24:35 -04:00
Christian M. Adams
80c8d87f71
Create an event when pvc is not set to alert the user
2021-04-30 10:24:35 -04:00
Christian M. Adams
6bc149bae2
template awxbackup crd into awx-operator.yml for easy deployment
2021-04-30 10:24:35 -04:00
Christian M. Adams
e1dca00f46
Fix backup reconciliation loop, add error status
2021-04-30 10:24:35 -04:00
Christian M. Adams
f17dcdc3e9
Swap vars and defaults, rename to awxbackups
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
9e44e21a66
Rename pvc name var to be consistent with other backup variables
2021-04-30 10:24:34 -04:00
Christian M. Adams
bcd1410438
init backup CR files
2021-04-30 10:24:33 -04:00
Yanis Guenane
1d14ebccad
Extra Settings: Allow one to pass extra API configuration settings.
...
For more advanced usage, a user can do the
extra_volumes/extra_volume_mounts dance. But for simple need adding this
parameter make it easy to just specify an extra parameter.
2021-04-30 11:06:40 +02:00
Shane McDonald
68774a3ccc
Merge pull request #250 from rooftopcellist/ee-vars
...
Add templated EE volume mount var to operator config
2021-04-28 11:33:13 -04:00
Yanis Guenane
4706aa9a1e
Deployment type: Make more fields dynamic based on that field
2021-04-28 12:12:06 +02:00
Christian M. Adams
e55d83ffa0
Add templated EE volume mount var to operator config
2021-04-27 15:54:37 -04:00
Marcelo Moreira de Mello
2fd737fbc2
Merge pull request #204 from TheStally/devel
...
Set Service to use type ClusterIP instead of NodePort when tower_ingress_type is Ingress
2021-04-25 21:59:25 -04:00
stal
5b38c85f8a
Extra changes for new tower_ingress_type NodePort
2021-04-24 15:16:49 +01:00
Shane McDonald
da43c5ba7d
Merge pull request #226 from fust/fix_postgres_resources
...
Fix postgres resources
2021-04-22 13:33:11 -04:00
Marcelo Moreira de Mello
bc34758c91
Split container image and version in 2 variables
2021-04-21 17:18:02 -04:00
Thom Wijtenburg
378a33aaee
Fix PostgreSQL resource requests
2021-04-20 11:14:48 +02:00
Ernesto Pérez
151ff11745
Add nodeSelector and tolerations for Postgres pod
2021-04-13 13:50:14 +02:00
Shane McDonald
136b2c47f8
Remove unnecessary variables from molecule CR
2021-04-07 17:20:04 -04:00
Nico Ohnezat
0eb4286b71
add tower_image_pull_secret as property of AWX resource
2021-04-07 17:55:18 +02:00
Marcelo Moreira de Mello
584d45d315
Introducing ability to mount /var/lib/projects
2021-04-06 12:53:08 -04:00
Shane McDonald
bac795a36a
Clean up instances of tower_ee_image
2021-04-05 15:50:29 -04:00
Shane McDonald
550756c33c
Update CRD stuff related to tower_ee_image -> tower_ee_images rename
2021-04-03 17:21:49 -04:00
Atha Kouroussis
be68adbf01
Add support for nodeSelector and tolerations
2021-04-01 18:28:07 -03:00