Commit Graph
126 Commits
Author SHA1 Message Date
Hao Liu 0f0ff32bf6 Add option to force drop database before restore (#1639) 2023-11-27 18:52:07 +00:00
Klaus Mueller 93c5e4a0c3 awx-operator-controller-manager reduce limit to 30 times as much as request (#1575) 2023-11-22 22:23:41 +00:00
Christian AdamsandHao Liu 7251961bcc Add ability to mount custom volumes in the postgres pod (#1626)
* Add ability to mount custom volumes in the postgres pod
* Fix indentation for postgres_extra_volumes

Signed-off-by: Christian M. Adams <[email protected]>
Co-authored-by: Hao Liu <[email protected]>
2023-11-08 15:44:30 -05:00
Christian Adams 718e5cfcb9 Add sample AWX CR with resource limits for environments with Resource… (#1554)
CI / molecule (--skip-tags=replicas) (push) Failing after 2m58s
CI / molecule (-t replicas) (push) Failing after 2m36s
CI / helm (push) Failing after 3m29s
CI / no-log (push) Successful in 17s
Add sample AWX CR with resource limits for environments with ResourceQuotas
2023-11-02 12:54:15 -04:00
Christian Adams f2ad70678c Bump kube-rbac-proxy image to v0.15.0 (#1615) 2023-10-25 12:22:10 -04:00
Hao Liu bb30b3b9fe Fix spacing for csv file (#1601) 2023-10-18 18:38:32 +00:00
kurokobo 16a2b590d6 fix: change type for precreate_partition_hours from string to integer (#1571) 2023-10-03 12:10:40 -04:00
rakesh561andChristian M. Adams 8518e0d1c7 Allow ability to set security context for postgres deployment (#1517)
- Added docs for securityContext 
- enabled web securityContext configuration

Co-authored-by: Christian M. Adams <[email protected]>
2023-09-27 18:05:46 -04:00
jessicamack 31e1914db6 Pre-create event table partitions before db backup in operator (#1443)
CI / molecule (--skip-tags=replicas) (push) Failing after 2m11s
CI / molecule (-t replicas) (push) Failing after 2m22s
CI / helm (push) Failing after 2m58s
CI / no-log (push) Successful in 16s
Signed-off-by: jessicamack <[email protected]>
<[email protected]>
2023-09-26 10:20:12 -04:00
ImedandImed Aouidene 61921d40ed Added pattern and max-length to secret names (#1549)
Co-authored-by: Imed Aouidene <[email protected]>
2023-09-20 14:24:01 -04:00
Christian Adams 8391ed3501 Add UI Params for db_management_pod_node_selector and labels (#1465)
CI / molecule (--skip-tags=replicas) (push) Failing after 1m58s
CI / molecule (-t replicas) (push) Failing after 1m48s
CI / helm (push) Failing after 5m21s
CI / no-log (push) Successful in 18s
2023-08-03 22:02:36 -04:00
Elijah DeLee ef7703563b add uwsgi config as configmap with vars (#1487) 2023-07-17 18:26:39 -04:00
Seth Foster 822b3a439f Add receptor_log_level (#1444) 2023-07-10 11:49:58 -04:00
rakesh561 cfb5048f85 There was a typo in the CRD for the ephemeral storage which was ephemeral_storage instead of ephemeral-storage (#1476) 2023-07-05 14:40:47 -04:00
rakesh561 43c1f396c3 Updated image pull policy for backup and restore policy as variable (#1473) 2023-07-05 14:39:43 -04:00
rakesh561 d61a01321f Allow ability to define requests and limits for ephemeral storage. (#1466) 2023-06-29 23:24:52 -04:00
Uros Bajzelj 3afe1df555 Enable configuration of rsyslog environmental variables, volume mounts, and entrypoints (#1467) 2023-06-29 22:38:24 -04:00
rakesh561 a8d2831b1c Update code with capability to set the init container resources instead of using web or task container resources (#1439) 2023-06-23 18:09:09 +00:00
soumyadeep-paul-ibmandChristian Adams 56d1966397 Update manager_auth_proxy_patch.yaml (#1438)
Co-authored-by: Christian Adams <[email protected]>
2023-06-21 18:30:17 +00:00
fcc09673cc Add db_management_pod_node_selector for specifying nodeSelect for backup/restore mgmt pod (#1434)
Co-authored-by: Hao Liu <[email protected]>
Co-authored-by: Jesse Wattenbarger <[email protected]>
2023-06-21 10:46:29 -04:00
rakesh561 721d6814ca Added capability to set the rsyslog container resources (#1410)
* Update awx.ansible.com_awxs.yaml with rsyslog resource containers
* Update awx-operator.clusterserviceversion.yaml with x-descriptors
* Add default values in main.yml
* Template resource_requirements in web.yaml.j2 and task.yaml.j2
2023-05-16 21:28:36 -04:00
Hao Liu 94dc52d224 Merge pull request #1393 from ansible/feature_keepalive
Add ability to configure Postgres keepalive settings
2023-05-15 12:26:07 -04:00
3b54fa8675 Host aliases (#1373)
* feat: add HostAliases to web/task containers (fixes #646)
* feat: add HostAliases to web/task containers
* Make host_aliases display in the Operator UI
* Add default value for host_aliases and add to web deployment template

Co-authored-by: zhangpeng.zong <[email protected]>
Co-authored-by: Dimitri Savineau <[email protected]>
2023-05-10 14:45:48 -04:00
4a869998d1 Add ability to configure postgres keepalives settings
Co-Authored-By: Gabriel Muniz <[email protected]>
Co-Authored-By: Rick Elrod <[email protected]>
2023-05-09 14:56:20 -04:00
Christian Adams 85da1aa1f3 Change storage class display type to dropdown (#1398) 2023-05-05 14:19:32 -04:00
Christian Adams 6378836706 Add postgres_storage_class to UI form & fix PG Storage requirements display (#1395) 2023-05-05 12:32:33 -04:00
Seth Foster 9c759bfe88 bump kustomize v4.5.7 to v5.0.1 (#1357) 2023-04-21 14:49:42 -04:00
Christian Adams 599b1e387d Fix linter warnings on PRs (#1372) 2023-04-19 18:36:29 +00:00
Lila e54215863c Add ability to override annotations independently
- add web_annotations to override annotations for web pods
- add task_annotations to override annotations for task pods
2023-04-17 16:07:12 -04:00
Christian Adams 5a3b2179bc Set securityContext.capabilities for kube-rbac-proxy container (#1354) 2023-04-12 14:55:57 -04:00
Lukas Magauerandlumarel faf51c8b24 Add websocket configuration for contour ingress (#1320)
Co-authored-by: lumarel <[email protected]>
2023-04-12 18:29:21 +00:00
Hao Liu 942cce05e7 resolve merge error 2023-03-29 22:00:52 -04:00
jessicamack 41e84be0d3 added descriptors for new fields (#1238)
Signed-off-by: jessicamack <[email protected]>
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 LiuandJake Jackson 918e487422 Add web and task replicas to the CRD (#1227)
add web_replicas and task_replicas

Co-Authored-By: Jake Jackson  <[email protected]>
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 <[email protected]>
2023-03-29 22:00:52 -04: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 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 <[email protected]>
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 <[email protected]>
2023-03-22 17:59:49 -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
aurel333andAurelien Potin fe77f1deae Fix awx-manager-role bad match between some apiGroups and resources (#1262)
Co-authored-by: Aurelien Potin <[email protected]>
2023-03-08 16:24:03 -05:00
Ravi TejaandRaviTeja Buddabathuni 06194960e9 Bump ansible operator SDK version to v1.26.0 (#1258)
Co-authored-by: RaviTeja Buddabathuni (rbuddaba) <[email protected]>
2023-02-28 15:45:02 -05:00
Hao Liu 46da413585 Merge pull request #1193 from stanislav-zaprudskiy/add_termination_grace_period_seconds
AWX: Add `termination_grace_period_seconds`
2023-02-28 15:37:51 -05:00
Maxence Button f328b0adb6 Customization of the init_projects_container_image is now possible (#1248) 2023-02-22 15:05:23 -05:00
Christian M. Adams 1ef1f00b3d Auto-assign NodePort port by default rather than hardcoding a default value
- previously, there was no way to auto-assign a port by default
   which led to conflicts with other deployments at times
 - nodeport_port param can still be used to specify a port if desired
2023-02-09 19:49:46 -05:00
Stanislav Zaprudskiy 336ea58a0a AWX: Add termination_grace_period_seconds 2023-02-07 16:33:00 +01:00
Christian Adams 234a10d185 Add a more descriptive AWX CRD description (#1208) 2023-01-31 10:50:12 -05:00