Commit Graph

76 Commits

Author SHA1 Message Date
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
e5e996569c Merge pull request #93 from Spredzy/resource_requirements
Allow greater flexibility to specify resource requests/limits
2021-02-10 16:52:45 +01:00
Yanis Guenane
fd4e3b2d4c Allow greater flexibility to specify resource requests/limits 2021-02-10 15:58:48 +01:00
Yanis Guenane
c895ca0f6d TLS: Enable customization of TLS behavior on route 2021-02-10 12:11:29 +01:00
Yanis Guenane
452bb128c6 Update CSV with richer fields 2021-02-09 22:23:05 +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
285be0faff deployment_type: Introduce the new variable. 2021-02-05 21:19:16 +01:00
Yanis Guenane
9189333611 Remove boiler plated ao-logs run from CSV file 2021-01-28 16:00:27 +01:00
Yanis Guenane
9c53c4067e Bump awx-operator tag in CSV 2021-01-26 21:17:23 +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
cf633d6ec2 Remove deployment_type 2021-01-21 15:47:18 -05:00
Shane McDonald
5183fc8081 Upgrade to postgres:12 2021-01-21 14:29:48 -05:00
Yanis Guenane
c8169105bd Provide clusterserviceversion 2021-01-20 19:57:12 +01: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
Atha Kouroussis
ad96ebf5ad More configurable parameters 2020-09-24 15:21:43 -03:00
nomyownnet
99fc390d9d Replaced address with host for external database. 2020-09-11 00:42:27 +03:00
Matthew Jones
23ddaddbe8 Update tests and lint concerns 2020-08-17 15:57:43 -04:00
Matthew Jones
edc60300be Autogenerate database configuration and secret key if not provided
This also persists those after removal, so the database PV is still functional
2020-08-13 14:36:49 -04:00
Matthew Jones
88d55a870a Documentation to the awx operator deploy 2020-08-11 16:41:46 -04:00
Matthew Jones
ebc402141a idiomatic postgres configuration
renaming some files to match the awx operator status
2020-07-17 14:47:29 -04:00
Matthew Jones
ff9a153f87 Moving towards AWX as the default 2020-07-01 14:15:51 -04:00
Tyler Auerbeck
a56518e16a Fix trailing space 2020-06-06 14:53:19 -04:00
Tyler Auerbeck
ba20b05d0f Change default ingress action to none 2020-06-06 14:15:07 -04:00
Jeff Geerling
11c8fe2549 More final preparations for 0.4.0 release. 2020-06-05 09:06:41 -05:00
Matthew Jones
bbe461c8c0 Set operator version to 0.4.0 2020-06-05 09:37:09 -04:00
Matthew Jones
dbd8d4e9fb Bump version to v1beta1 2020-06-04 16:42:55 -04:00
Matthew Jones
aef500d9c9 Fixing up molecule
* Limiting resources so that things can start in travis
* Making a dedicated molecule test CR
2020-06-04 09:22:56 -04:00
Matthew Jones
2e75e0eb9a Fix up Tower CRD variables for the proper deploy type 2020-06-03 11:01:17 -04:00
Shane McDonald
736aeb6c07 Fix upstream install path
Note that this added the required attribute spec.deployment_type. This _can_ go
away after the supervisor configs move back into the downstream images, but the
pattern may prove useful for other things in the future.
2020-06-02 20:10:09 -04:00
Matthew Jones
9dd54e44a3 Point at the ansible dockerhub 2020-06-01 16:13:09 -04:00
Shane McDonald
0bb31f2015 Move sensitive info out of environment, get websocket backplane working 2020-05-30 15:22:24 -04:00
Matthew Jones
4f160c6aef Work towards supporting 3.7 2020-05-29 16:09:07 -04:00
Jeff Geerling
43ad44254e Issue #42: Tag new 0.3.0 release. 2020-05-26 17:13:59 -05:00
Jeff Geerling
df73fd664f Issue #42: Add note about registry auth, drop redis requests. 2020-05-26 16:50:51 -05:00
Jeff Geerling
e4510ff974 Issue #42: Upgrade to latest versions of Tower and AWX, switch RabbitMQ to Redis. 2020-05-26 15:26:37 -05:00
Jeff Geerling
152fe82954 Fixes #40: Update to Tower 3.6.4. 2020-05-26 13:45:51 -05:00
Jeff Geerling
840fdc2701 Merge pull request #34 from tylerauerbeck/pgsql-openshift
Initial OpenShift functionality
2020-05-15 22:12:22 -05:00
Tyler Auerbeck
87258f5882 Scale back AWX_PROOT_ENABLED changes; Add tower_ingress_type and tower_task_privileged to README 2020-04-20 12:13:14 -04:00
Tyler Auerbeck
25b970bd70 Cleanup role.yaml 2020-03-23 01:16:36 -04:00