Commit Graph

1463 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
5690fa7cc1 Merge pull request #102 from Spredzy/templatize_api_version
Make the API version used for status update parametrable
2021-02-17 11:43:25 +01:00
Yanis Guenane
a44cfb676d Make the API version used for status update parametrable 2021-02-17 11:21:29 +01:00
Yanis Guenane
d3e7c308c4 Merge pull request #100 from Spredzy/improved_req_mems
Requirements: Improve CRD OpenAPI schema
2021-02-16 18:31:08 +01:00
Yanis Guenane
53fd88a4e1 Requirements: Improve CRD OpenAPI schema 2021-02-16 18:14:17 +01:00
Yanis Guenane
3b9b4225ae Merge pull request #96 from Spredzy/default_and_v1
Move to apiextensions.k8s.io/v1 and enable default value on CRD
2021-02-16 15:32:34 +01:00
Yanis Guenane
1a58392804 Merge pull request #98 from Spredzy/improve_local_test
Discard .cache from linting and commiting
2021-02-16 14:55:29 +01:00
Yanis Guenane
78eab6873e Merge pull request #99 from Spredzy/fix_logs
CI: Properly return logs when deployment fails
2021-02-16 14:55:19 +01:00
Yanis Guenane
25fc21a6cd Enum: allow various casing 2021-02-16 14:30:31 +01:00
Yanis Guenane
a39b914963 CI: Bump bsycorp/kind to v1.17.9 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
6f965c9180 CI: Properly return logs when deployment fails 2021-02-16 14:16:12 +01:00
Yanis Guenane
4e8308c90d Discard .cache from linting and commiting 2021-02-16 14:14:36 +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
025dfa54df Merge pull request #95 from Spredzy/tls_custom_passthrough
TLS: Enable passthrough termination mechanism
2021-02-10 15:34:51 +01:00
Yanis Guenane
1fe7c4dd20 TLS: Enable passthrough termination mechanism
Depends-On: https://github.com/ansible/awx-operator/pull/94
2021-02-10 15:20:27 +01:00
Yanis Guenane
b5536ffd80 Merge pull request #94 from Spredzy/tls_customization
TLS: Enable customization of TLS behavior on route when using edge mechanism
2021-02-10 15:19:56 +01:00
Yanis Guenane
c895ca0f6d TLS: Enable customization of TLS behavior on route 2021-02-10 12:11:29 +01:00
Yanis Guenane
121c034e6c Merge pull request #91 from Spredzy/improved_ux
Update CSV with richer fields
2021-02-09 22:43:54 +01:00
Yanis Guenane
452bb128c6 Update CSV with richer fields 2021-02-09 22:23:05 +01:00
Yanis Guenane
821198c05e Merge pull request #90 from Spredzy/standar_gc
Secret: Create a toggle to garbage collect secrets in finalizer
2021-02-09 22:22:37 +01:00
Yanis Guenane
8049dfac9c Secret: Create a toggle to garbage collect secrets in finalizer. 2021-02-09 22:08:24 +01:00
Yanis Guenane
8481390bac Merge pull request #92 from Spredzy/fix_ci
travis.yml: Explicitly list ansible as a dep
2021-02-09 22:07:52 +01:00
Yanis Guenane
0eab2f9686 travis.yml: Explicitly list ansible as a dep 2021-02-09 21:52:51 +01:00
Yanis Guenane
72fd95994b Merge pull request #88 from Spredzy/admin_password
Admin Password: Allow one to specify an admin password secret else generate it
2021-02-09 09:28:50 +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
90bfe5073b Merge pull request #89 from Spredzy/secret_key
Secret Key: Allow one to specify a secret key else generate it
2021-02-08 19:25:43 +01:00
Yanis Guenane
dfb96d1e18 Secret Key: Allow one to specify a secret key else generate it 2021-02-08 19:11:44 +01:00
Yanis Guenane
5cf9f72f60 Merge pull request #84 from Spredzy/database_configuration
PostgreSQL: Allow one to provide her own db configuration secret
2021-02-08 19:08:03 +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
f5ac42dfe2 Merge pull request #87 from Spredzy/fix_yamlliny
yamllint: Fix warning
2021-02-08 14:23:43 +01:00
Yanis Guenane
0149afcd9e yamllint: Fix warning 2021-02-08 14:05:16 +01:00
Yanis Guenane
5efd45570e Merge pull request #85 from Spredzy/fix_creds
tower_config: Remove credential from tower_config.yml
2021-02-08 09:48:58 +01:00
Yanis Guenane
357e8ad2c9 tower_config: Remove credential from tower_config.yml 2021-02-08 09:34:56 +01:00
Yanis Guenane
c5cd12e662 Merge pull request #86 from Spredzy/change_role_names
Rename base roles
2021-02-08 09:31:17 +01:00
Yanis Guenane
ad476e4782 Rename base roles 2021-02-05 22:23:23 +01:00
Yanis Guenane
3a2d3d889a Merge pull request #82 from Spredzy/normalize
deployment_type: Introduce the new variable
2021-02-05 21:32:10 +01:00
Yanis Guenane
285be0faff deployment_type: Introduce the new variable. 2021-02-05 21:19:16 +01:00
Yanis Guenane
38c57a61d0 Merge pull request #83 from Spredzy/database_configuration
PostgreSQL: Remove unused/wrongly used variable
2021-02-05 18:33:26 +01:00
Yanis Guenane
7837db6e53 Merge pull request #81 from Spredzy/change_default_admin_username
tower_admin_user: default to admin
2021-02-05 18:32:43 +01:00
Yanis Guenane
2daae08790 PostgreSQL: Remove unused/wrongly used variable 2021-02-05 16:11:28 +01:00
Yanis Guenane
c378e0da9f Merge pull request #79 from Spredzy/toc_readme
README: Add a ToC at the top of the README
2021-02-05 16:01:21 +01:00
Yanis Guenane
470870526b tower_admin_user: default to admin 2021-02-05 15:38:44 +01:00
Yanis Guenane
ae7aae4048 README: Add a ToC at the top of the README 2021-02-05 12:19:21 +01:00
Yanis Guenane
90023b8d75 Merge pull request #74 from Spredzy/trim_csv
Remove boiler plated ao-logs run from CSV file
2021-01-28 16:24:14 +01:00
Yanis Guenane
9189333611 Remove boiler plated ao-logs run from CSV file 2021-01-28 16:00:27 +01:00
Yanis Guenane
4e11d45386 Merge pull request #73 from Spredzy/bump_csv
Bump awx-operator tag in CSV
2021-01-26 21:32:03 +01:00
Yanis Guenane
9c53c4067e Bump awx-operator tag in CSV 2021-01-26 21:17:23 +01:00