mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
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