Hao Liu
02328076e5
Update arg for launching web container
...
related to https://github.com/ansible/awx/pull/13777
make sure that the launch script name reflect the component that its launching
2023-03-29 22:00:52 -04:00
Lila
4bec3f7098
Removed extra space.
2023-03-29 22:00:52 -04:00
Lila
b7e6987aec
Removed errant quotes in main.yml.
2023-03-29 22:00:52 -04:00
Jake Jackson
7218e42771
[web/task split] fix scale down bug ( #1295 )
...
- rename scale_down vars to the new deployments since the old one no longer exists
- rename postgres.yml scale down vars as it references the old ones as well
2023-03-29 22:00:52 -04:00
Lila
25dfc97047
Updated task deployment to fix receptor certs issue.
...
Added the following volume mounts to the web container:
- receptor-work-signing
- receptor-ca
- work-public-key.pem
Also added these corresponding volumes to the web deployments:
- receptor-ca
- receptor-work-signing
2023-03-29 22:00:52 -04:00
Hao Liu
1106ef54ee
add AWX_COMPONENT env var
...
for awx to be able to identify which component it is running in code
2023-03-29 22:00:52 -04:00
thedoubl3j
6fd5ca918b
remove any reference to project persistance in web deployment
2023-03-29 22:00:52 -04:00
Hao Liu
942cce05e7
resolve merge error
2023-03-29 22:00:52 -04:00
Hao Liu
c2f0c214eb
rename tower_pod to awx_task_pod
2023-03-29 22:00:52 -04:00
Hao Liu
a0fdf653fb
enable web container to be restarted when configmap/secret change
2023-03-29 22:00:52 -04:00
thedoubl3j
5894a4ad25
remove old deployment during upgrade
2023-03-29 22:00:52 -04:00
thedoubl3j
3c0ea07a55
update documentation for the new fields added
2023-03-29 22:00:52 -04:00
Hao Liu
84b766ac40
update auto_upgrade logic ( #1241 )
...
update logic for determining if install.yml task should be run
to respect the auto_upgrade field in awx resource
conditions and expected behavior
```
auto_upgrade awx awx-web awx-task run install.yml
-------------- ----- --------- ---------- -----------------
T - - - T
F T - - F
F - T T F
F - T F T
F - F T T
F - F F T
```
2023-03-29 22:00:52 -04:00
jessicamack
41e84be0d3
added descriptors for new fields ( #1238 )
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:00:52 -04:00
Jake Jackson
d40683cbb9
add topology constraint for each deployment ( #1234 )
2023-03-29 22:00:52 -04:00
Hao Liu
918e487422
Add web and task replicas to the CRD ( #1227 )
...
add web_replicas and task_replicas
Co-Authored-By: Jake Jackson <24478650+thedoubl3j@users.noreply.github.com >
2023-03-29 22:00:52 -04:00
Jake Jackson
6192cab653
fix affinity duplicate ( #1225 )
2023-03-29 22:00:52 -04:00
Jake Jackson
c1bbd85ea9
add nodeSelector work ( #1219 )
2023-03-29 22:00:52 -04:00
Jake Jackson
d9f3a428d4
[web/task split] split web and task deployment + a few supporting bits ( #1189 )
...
* first pass, still WIP, need tolerations etc
* add tolerations that don't work bc idk
* bug hunting
* local push, still a WIP
* affinity still needs testfor to_nice_yaml, tolerations logic is working
* fixed task deployment and affinity for both
2023-03-29 22:00:52 -04:00
Rick Elrod
ebc040fe75
scale web/task replicas separately
...
This is a breaking change since 'replicas' is no longer used.
Signed-off-by: Rick Elrod <rick@elrod.me >
2023-03-29 22:00:52 -04:00
Rick Elrod
12e51ad9ad
add $MY_POD_IP back to web deployment
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2023-03-29 22:00:52 -04:00
Rick Elrod
6477468729
drop awx-web container from awx-task deployment
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2023-03-29 22:00:52 -04:00
Shane McDonald
19461fa86c
Split web and task containers into separate deployments
2023-03-29 21:59:57 -04:00
Seth Foster
2b3fd833a3
Allow TLS 1.2 for Receptor connections ( #1300 )
...
- Required for FIPS environment where TLS 1.3 is
not supported
- TLS 1.3 can still be used if the nodes
both agree to use during handshake.
2023-03-29 19:19:40 -04:00
Guillaume Lefevre
c76ad2cff1
Change ansible k8s_info tasks api_version for Deployment kind to apps/v1 ( #1299 )
...
Co-authored-by: Guillaume Lefevre <guillaume.lefevre@agoda.com >
2023-03-29 15:39:41 -04:00
John Westcott IV
aa673de25d
Merge pull request #1305 from john-westcott-iv/no_jmes
...
Modifying stage playbook to not need jmespath
1.4.0
2023-03-27 21:08:32 -04:00
John Westcott IV
f1512e9405
Modifying stage playbook to not need jmespath
2023-03-27 20:56:56 -04:00
John Westcott IV
d853e050cd
Merge pull request #1304 from john-westcott-iv/fix_jmes_path
...
Adding jmespath to workflow for using json_query
2023-03-27 20:40:10 -04:00
John Westcott IV
9f0c5c8ba9
Adding jmespath to workflow for using json_query
2023-03-27 20:26:14 -04:00
John Westcott IV
1d34d86f32
Merge pull request #1303 from john-westcott-iv/fix-playbook
...
Making helm release playbook more idempotent
2023-03-27 16:18:56 -04:00
John Westcott IV
7164c412f0
Making helm release playbook more idempotent
2023-03-27 16:02:21 -04:00
John Westcott IV
a8a05bb113
Merge pull request #1302 from john-westcott-iv/fix_release
...
Adding missing \ in promote workflow
2023-03-27 14:40:19 -04:00
John Westcott IV
bf91f32f79
Adding missing \ in promote workflow
2023-03-27 14:28:18 -04:00
Andrii Salnikov
ef10b06be5
Update roles/installer/templates/settings/credentials.py.j2
...
Co-authored-by: Dimitri Savineau <savineau.dimitri@gmail.com >
2023-03-23 22:31:39 +01:00
Dimitri Savineau
1e453aefd3
Merge pull request #1297 from dsavineau/restore_requires_deployment_name
...
restore: Set deployment_name as required
2023-03-23 11:14:32 -04:00
Dimitri Savineau
71b950c243
Merge pull request #1298 from dsavineau/fix_restore_backup_source_enum
...
restore: Fix enum value for backup_source
2023-03-23 11:14:13 -04:00
Dimitri Savineau
b00137cc3e
restore: Fix enum value for backup_source
...
The choice for backup_source are:
- Backup CR
- PVC
This current prevents to create an AWXRestore CR with the Backup CR value
from the OLM UI.
Error "Unsupported value: "Backup CR": supported values: "CR", "PVC"" for
field "spec.backup_source".
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2023-03-22 18:18:51 -04:00
Dimitri Savineau
2cc398d8d4
restore: Set deployment_name as required
...
The deployment_name from the AWXRestore CR doesn't requires to set a
value for this parameter.
That parameter is already required for the AWXBackup CR so it should be
the same for AWXRestore.
Creating an AWXRestore CR without deployment_name set results in a failure
during the Secrets restoration.
"reason":"FieldValueInvalid","message":"Invalid value: \\"-receptor-ca\\":
a lowercase RFC 1123 subdomain must consist of lower case alphanumeric
characters, \'-\' or \'.\', and must start and end with an alphanumeric
character (e.g. \'example.com\', regex used for validation is
\'[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\')"
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2023-03-22 17:59:49 -04:00
Joel
5c91bbd65e
restore use k8s_cp module to read backup files ( #1212 )
2023-03-22 14:27:58 -04:00
Gene Tomilko
88b1a8c125
Add loadbalancerip ( #1265 )
...
* Add ability to configure loadbalancerip on service
* Add docs for configuring loadbalancerip
2023-03-22 18:27:17 +00:00
Christian Adams
6fd969633e
Document the need for quotes on pg secret port value ( #1288 )
2023-03-22 14:17:40 -04:00
Christian Adams
9c788ba3bd
Add more suggestions to Debugging doc ( #1285 )
2023-03-16 17:52:29 -04:00
Seth Foster
c2fd14e39a
Merge pull request #1281 from trippinnik/patch-1
...
Update README.md
2023-03-15 14:29:57 -04:00
Seth Foster
6513e93e7f
Merge pull request #1287 from sugitk/patch-1
...
fixes #1286 expand client_max_body_size to 5Mb
2023-03-15 14:17:18 -04:00
Takashi Sugimura
d0f4898aaa
fix #1286
2023-03-15 08:20:16 +09:00
trippinnik
3d849d9179
Update README.md
...
documentation is incorrect for AUTH_LDAP_GROUP_TYPE and paramaters need to be noted with AUTH_LDAP_GROUP_TYPE_PARAMS
2023-03-09 09:46:46 -05:00
aurel333
fe77f1deae
Fix awx-manager-role bad match between some apiGroups and resources ( #1262 )
...
Co-authored-by: Aurelien Potin <aurelien.potin@michelin.com >
2023-03-08 16:24:03 -05:00
Hao Liu
9156909023
Merge pull request #1263 from rh-dluong/date-format
...
change date format to avoid :
2023-03-08 15:58:58 -05:00
Christian Adams
03e3b68eeb
Helm Release: Need to use shell, not command for multi-line ( #1280 )
2023-03-08 15:55:30 -05:00
Ravi Teja
6cae8dfa32
fix: use sha1 instead of md5 to make the installer work in FIPS ( #1260 )
...
Co-authored-by: RaviTeja Buddabathuni (rbuddaba) <rbuddaba@cisco.com >
2023-03-08 15:10:27 -05:00