47 Commits

Author SHA1 Message Date
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
2b8530b3e2 Update instantiate playbook to document tower_ee_images 2021-04-03 17:21:53 -04:00
Shane McDonald
4230120884 More flexibility for customizing default EEs 2021-04-03 17:15:56 -04:00
Shane McDonald
862123e2d6 Merge pull request #169 from shanemcd/fix-instantiate
Fix instantiate playbook when development_mode var is not provided
2021-04-03 13:05:42 -04:00
Shane McDonald
c1a2f6e649 Fix instantiate playbook when development_mode var is not provided 2021-04-03 12:54:43 -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
Shane McDonald
bc28071205 Update variable name 2021-03-28 15:07:39 -04:00
Shane McDonald
e91031fa73 Fix deployment playbook 2021-03-28 15:06:41 -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
451e2b6497 Update bundle variables to catchup with latest commits 2021-03-24 14:07:36 +01: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
851ff16c0f Allow for overriding namespace when deploying via playbook 2021-03-18 11:22:04 -04:00
Shane McDonald
da26472a03 Fix reconcilation loop after data migration changes 2021-03-18 11:22:00 -04:00
billett83
4297b158dc Update ansible/instantiate-awx-deployment.yml
Co-authored-by: Shane McDonald <me@shanemcd.com>
2021-03-17 15:27:30 +00:00
billett83
f099b15ff8 Update ansible/templates/crd.yml.j2
Co-authored-by: Shane McDonald <me@shanemcd.com>
2021-03-17 15:21:11 +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
c895ca0f6d TLS: Enable customization of TLS behavior on route 2021-02-10 12:11:29 +01:00
Yanis Guenane
0eab2f9686 travis.yml: Explicitly list ansible as a dep 2021-02-09 21:52:51 +01:00
Yanis Guenane
e858f34f2c Admin Password: Allow one to specify an admin password secret else generate it 2021-02-08 19:29:55 +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
Yanis Guenane
0149afcd9e yamllint: Fix warning 2021-02-08 14:05:16 +01:00
Shane McDonald
dff8ef5259 Bump to version 0.6.0 2021-01-25 15:36:19 -05:00
Shane McDonald
48ba257f67 Add development mode for AWX 2021-01-25 12:30:29 -05:00
Shane McDonald
f3fcd0b810 Update to operator sdk 0.19.4 2021-01-23 10:15:53 -05:00
Shane McDonald
9de8f45c37 Make tests use correct image! 2021-01-21 15:47:18 -05:00
Shane McDonald
cf633d6ec2 Remove deployment_type 2021-01-21 15:47:18 -05: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
e8eef8a1ca Refactor how awx-operator.yaml is rendered out 2020-10-05 15:23:53 -04:00
Shane McDonald
4a45333de0 Add playbook for deploying an instance of AWX 2020-10-05 14:59:28 -04:00
Shane McDonald
182d7a3ad5 Add playbooks for building and deploying operator 2020-10-05 14:59:28 -04:00
Shane McDonald
48c8f07877 Automate some build and release related activities 2020-10-05 14:59:19 -04:00