Commit Graph

53 Commits

Author SHA1 Message Date
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
Marcelo Moreira de Mello
3d5a9eae31 Handle statefulset updates 2021-04-27 17:16:57 -04: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
f6b7a32a33 Bump version 2021-04-07 17:24:08 -04:00
Shane McDonald
aa03a7f268 Ensure CRD exists before deploying Operator 2021-04-07 17:20:52 -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
550756c33c Update CRD stuff related to tower_ee_image -> tower_ee_images rename 2021-04-03 17:21:49 -04:00
Shane McDonald
4230120884 More flexibility for customizing default EEs 2021-04-03 17:15:56 -04:00
Atha Kouroussis
be68adbf01 Add support for nodeSelector and tolerations 2021-04-01 18:28:07 -03:00
Marcelo Moreira de Mello
8974e3446a Added ability to configure LDAP CA 2021-03-29 22:19:22 -04:00
Shane McDonald
257a3ba807 Allow tower_ee_image to be specified in CR 2021-03-28 15:09:03 -04:00
Yanis Guenane
387932e960 Update liveness probe defaults
The liveness probes default are too agressive and can lead to
undeployable operators[1][2] - We are bumping them as per the
operator-sdk default in 1.0[3]

[1] https://github.com/operator-framework/operator-sdk/issues/3216
[2] https://github.com/operator-framework/operator-sdk/issues/3267
[3]
ea43495073

Fixes: https://github.com/ansible/awx-operator/issues/131
2021-03-24 20:33:07 +01:00
Yanis Guenane
79e62755b8 Merge pull request #143 from Spredzy/update_bundle_params
Update bundle variables to catchup with latest commits
2021-03-24 20:25:38 +01:00
Yanis Guenane
451e2b6497 Update bundle variables to catchup with latest commits 2021-03-24 14:07:36 +01:00
cbillett83@outlook.com
76092c366e alow private hosted awx-ee image 2021-03-24 10:02:33 +00:00
Shane McDonald
693ce5a17e Fix CRD
Fallout from https://github.com/ansible/awx-operator/pull/128
2021-03-23 11:15:51 -04:00
Shane McDonald
385a4f65a1 Bump version 2021-03-23 11:15:47 -04:00
Shane McDonald
3df272da27 Merge pull request #128 from billett83/devel
fixes #127 Provided service type LoadBalancer
2021-03-23 09:49:34 -04:00
Shane McDonald
c320dc835b Fix image 2021-03-18 14:17:13 -04:00
Shane McDonald
da26472a03 Fix reconcilation loop after data migration changes 2021-03-18 11:22:00 -04:00
billett83
add62c2973 Update deploy/awx-operator.yaml
Co-authored-by: Shane McDonald <me@shanemcd.com>
2021-03-17 15:20:33 +00:00
cbillett83@outlook.com
781d3e0ec7 Provided service type LoadBalancer 2021-03-17 11:59:57 +00:00
Christian M. Adams
0e1b12f4b1 Data migration from 3.8 to 4.0 via pg_dump streamed to psql 2021-03-16 13:32:15 -04:00
Shane McDonald
9595c6c008 New deployment model 2021-03-03 12:30:17 -05:00
Yanis Guenane
c579537d66 Update API and operator interface 2021-02-25 17:44:00 +01:00
Yanis Guenane
e589a999a8 kind,api_version: Dynamically retrieve those values 2021-02-25 13:56:42 +01:00
Yanis Guenane
f04017ca95 OpenAPI: Extend the schema to all role variables
This is the full implementation of the OpenAPI schema that maps to the
currently existing roles defaults variable.

Prior to this commit, all variables specified at the spec level that
didn't have an entry in the OpenAPI schema at the CRD level were simply
ignored, unless --validate=false was specified.

This commit fixes that and provide a mapping between the CRD level
OpenAPI schema and the variables availabe in <roles>/defaults/main.yml.

This commit is simply about ensuring one can provide all the available
variables. A follow up commit will come to add logic in the OpenAPI
schema definition as it can be shown here[1]

[1]
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#specifying-a-structural-schema
2021-02-22 16:19:54 +01:00
Yanis Guenane
53fd88a4e1 Requirements: Improve CRD OpenAPI schema 2021-02-16 18:14:17 +01:00
Yanis Guenane
25fc21a6cd Enum: allow various casing 2021-02-16 14:30:31 +01:00
Yanis Guenane
a4ee609a76 CRD: Add default value to openAPIV3Schema 2021-02-16 14:30:31 +01:00
Yanis Guenane
fbae5cf590 CRD: Move to apiextensions.k8s.io/v1 2021-02-16 14:30:31 +01:00
Yanis Guenane
e5f1041350 PostgreSQL: Allow one to provide her own db configuration secret
If a user provide its own secret by using the
`tower_postgres_configuration_secret` use this variable, else try to use
`<instance>-postgres-configuration` secret. Else create one and use a
local database.
2021-02-08 15:13:56 +01:00
Shane McDonald
dff8ef5259 Bump to version 0.6.0 2021-01-25 15:36:19 -05:00
Shane McDonald
f3fcd0b810 Update to operator sdk 0.19.4 2021-01-23 10:15:53 -05:00
Shane McDonald
cf633d6ec2 Remove deployment_type 2021-01-21 15:47:18 -05:00
Mercwri
30e2791d4f removing incorrect namespace field from spec 2020-10-12 10:13:50 -04:00
Shane McDonald
7f8331bb28 Fix RBAC
Fixes https://github.com/ansible/awx-operator/issues/35

Will need to revisit how to support deploying into namespaces other than default.
2020-10-12 08:59:22 -04:00
Shane McDonald
48c8f07877 Automate some build and release related activities 2020-10-05 14:59:19 -04:00
Shane McDonald
bd443e33ab Fix chain-operator-files.yml 2020-10-03 11:58:51 -04:00
Matthew Jones
76964e74b1 Update to AWX 15 and fix a boolean issue 2020-09-30 11:39:34 -04:00
nomyownnet
99fc390d9d Replaced address with host for external database. 2020-09-11 00:42:27 +03:00