Elijah DeLee
479c009716
only set mem/cpu setting if limit is set
...
Otherwise, we get the too-low setting of the request, which
will be a rough experience for folks who have been using the operator
and are used to the experience of having entire underlying node capacity
Users can still set the setting via extra_settings to get the experience
of having each pod with a individualized capacity, or set a limit.
2022-02-15 15:35:36 -05:00
Elijah DeLee
3afcd7fd89
set memory and cpu setting based on resource settings
...
This way we can start using this setting in AWX again to help fix
https://github.com/ansible/awx/issues/11640
2022-02-15 14:09:21 -05:00
Shane McDonald
26b1eb6c87
Merge pull request #776 from arrase/feature/service_annotations
...
Allow service annotations not only for LoadBalancer type
2022-02-11 17:30:56 -05:00
Shane McDonald
224dde769a
Merge pull request #536 from siju-vasudevan/patch-1
...
LDAPSearch Module is missing
2022-02-11 17:20:56 -05:00
Shane McDonald
768bc2f857
Merge pull request #652 from shanemcd/url-prefix-support
...
Support running AWX at non-root path
2022-02-09 10:37:07 -05:00
Juan Ezquerro LLanes
108addc06e
Allow service annotations not only for LoadBalancer
2022-02-01 20:49:37 +01:00
Christian M. Adams
960d1f8a32
Fix volume mount syntax error
...
* conditionally run database-check init container only for managed db
deployments
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2022-02-01 10:50:48 -05:00
Christian M. Adams
fab71e054e
Always run database-check initContainer
2022-01-31 09:40:19 -05:00
Christian Adams
d27ce3c34d
Merge pull request #755 from rooftopcellist/mv-data-subPath
...
Use an Init Container to move the pg data subPath in the pvc
2022-01-27 19:55:48 -05:00
sooslaca
8f8336b25a
Fix issue #762
...
Fix https://github.com/ansible/awx-operator/issues/762
2022-01-23 16:17:24 +01:00
Christian M. Adams
5b636bb8ea
Use an Init Container to move the pg data subPath in the pvc
2022-01-13 23:17:33 -05:00
Christian Adams
83939ec007
Merge pull request #726 from Skaopap/feature_topology_constraints
...
Add topology constraints to AWX CRD
2022-01-13 21:16:23 -05:00
bthominet
608478e249
add topolgy_spread_constraints
2022-01-13 09:50:12 +01:00
Christian M. Adams
cbd7da9dcf
Add default for postgres_extra_args variable
2022-01-11 14:18:34 -05:00
chris93111
0f07a475b5
Add ability to configure extra args for postgres
...
* add default extra args postgres
* add postgres_extra_args option to readme
2022-01-11 12:44:18 -05:00
Christian M. Adams
fdbe607189
Scale down app pod when database is unavailable
2022-01-04 17:07:39 -05:00
Christian M. Adams
345738cba3
Truncate image version label so that it avoids the 63 char k8s limit
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-12-16 15:18:22 -05:00
Christian M. Adams
3150d55af6
Do not try to wait for Postgres on external db deployments
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-12-09 19:31:37 -05:00
Christian M. Adams
fbd5803f10
Wait for Postgres to initialize before starting containers
2021-12-07 17:42:55 -05:00
Shane McDonald
eaaf55e7f0
Drive-by lint fix, actually enforce line length
2021-11-19 08:16:34 +00:00
Shane McDonald
c843194cbd
Support running AWX at non-root path
2021-11-14 04:26:24 +00:00
Shane McDonald
138964f7ab
Add support for arbitrary pod-level securityContext settings
...
This allows for doing stuff like this on the custom resource:
```
security_context_settings:
runAsUser: 1000
runAsGroup: 0
```
I added `snakeCaseParameters: False` because without it, variables like `runAsUser` become `run_as_user`... and that doesnt work.
2021-11-10 21:36:42 +08:00
Yanis Guenane
277b772c46
control_plane_ee: Honor proper ordering
2021-11-02 10:45:11 +01:00
Yanis Guenane
fc713e7b73
Properly apply default when env lookup returns empty
2021-11-02 09:57:04 +01:00
Christian M. Adams
7eb6d0e0f5
Set default images, but use them as a last resort
...
* Only use them if user did not set an image, or RELATED_IMAGES_ var
is not set
Signed-off-by: Christian M. Adams <chadams@redhat.com >
(cherry picked from commit bb957be9e6 )
2021-11-01 14:58:24 +01:00
Christian M. Adams
29879f7064
Rename related image vars to be distinct across operators
2021-10-27 11:26:51 -04:00
Christian M. Adams
8aee279634
Use relatedImages to make disconnected deployments possible
...
* Add ability to pass images in from the CSV for disconnected installs
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-10-26 00:26:16 -04:00
Shane McDonald
7b59c36263
Allow for overriding default AWX version as env var
2021-10-20 17:01:23 -04:00
Shane McDonald
38c64a504d
Merge pull request #559 from oliverf1/redis_capabilities
...
Add an option to specify container capabilities for the redis container
2021-10-13 14:24:23 -04:00
Sean Davis
b1dcf16fc8
Add Ingress path type option ( #1 )
...
* make ingress_path_type an option
* add to spec
2021-10-04 10:31:56 -05:00
Olivier
f0c5d1b4e3
Add an option to specify container capabilities for the redis container
...
With some kubernetes clusters and settings, you might need to specify
some capabilities so the container can start. For example, the CHOWN,
SETUID and SETGID capabilties.
Setting the redis_capabilities option will add the capabilities in
the deployment.
2021-10-02 18:43:37 -04:00
Shane McDonald
1095bc0518
Use AWX 19.4.0
2021-10-02 15:23:55 -04:00
Shane McDonald
8b64670146
Work around bug in k8s module with the "template" attribute
2021-09-29 20:24:00 -04:00
Shane McDonald
ccff76dec5
Do not set default hostname for ingress
2021-09-29 18:39:27 -04:00
Shane McDonald
69203723ef
Update scaffolding to pass yamllint
2021-09-29 18:39:24 -04:00
Shane McDonald
e97def4429
meta -> ansible_operator_meta
2021-09-29 18:39:24 -04:00
siju-vasudevan
38ec4a3b00
LDAPSearch Module is missing
...
Since LDAPSearch Module is missing LDAP authentication is not working if you configure the LDAP configuration via extra_settings.
2021-09-09 10:04:30 +05:30
Christian Adams
c24f191ec6
Merge pull request #534 from rooftopcellist/mount-receptor-config-followup
...
Make receptor.conf path consistent between containers
2021-09-08 09:46:54 -04:00
Christian M. Adams
fc9cd6bdb1
Make receptor.conf path consistent between containers
2021-09-08 09:11:37 -04:00
Christian Adams
e3b746f1c5
Merge pull request #529 from rooftopcellist/mount-receptor-config
...
Mount receptor config in awx-task container
2021-09-08 08:57:43 -04:00
Christian M. Adams
eb4b5b9b90
Mount receptor config in awx-task container
2021-09-07 18:49:26 -04:00
Christian Adams
f3cdf57f0d
Merge pull request #501 from BongoEADGC6/devel
...
Added nodeport port properties
2021-09-07 09:09:10 -04:00
Christian M. Adams
1df3df11ce
Use v1 extensions because v1beta1 is being removed
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-08-27 13:28:07 -04:00
Cliff Hults
9b072aa549
Added nodeport properties
2021-08-14 19:50:29 -04:00
Shane McDonald
8ac0de159a
Bump versions / OLM metadata
2021-08-12 23:12:22 -04:00
Christian M. Adams
8952d8fd64
Revert "pgsql uses initContainer to address FS permissions"
...
This reverts commit 99d77dff99 .
2021-08-12 15:51:15 -04:00
Christian M. Adams
ebaa407444
Revert "Added fsGroup"
...
This reverts commit 649f0cc3fb .
2021-08-12 15:50:42 -04:00
Christian Adams
47cec1f28d
Merge pull request #485 from tchellomello/fsGroup-pgsql
...
pgsql uses initContainer to address FS permissions
2021-08-12 15:36:46 -04:00
Elijah DeLee
91d299926a
update name of ee as well as the image
2021-08-11 14:54:24 -04:00
Elijah DeLee
01fe816fe8
use awx-ee:latest
...
We are updating the requirements in awx to get the latest receptor and runner in the task container,
we should also have the latest in the EE
see https://github.com/ansible/awx/pull/10861 and https://github.com/ansible/awx/pull/10858
2021-08-11 11:41:12 -04:00