mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Provide Kubernetes resource validation to k8s module
Use kubernetes-validate to validate Kubernetes resource
definitions against the published schema
* Additional tests for kubernetes-validate
* Improve k8s error messages on exceptions
Parse the response body for the message rather than returning
a JSON blob
If we've validated and there are warnings, return those too - they
can be more helpful
```
"msg": "Failed to patch object: {\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},
\"status\":\"Failure\",\"message\":\"[pos 334]: json: decNum: got first char 'h'\",\"code\":500}\n",
```
vs
```
"msg": "Failed to patch object: [pos 334]: json: decNum: got first char 'h'\nresource
validation error at spec.replicas: 'hello' is not of type u'integer'",
```
* Update versions used
In particular openshift/origin:3.9.0
* Add changelog for k8s validate change
|
7 years ago | |
|---|---|---|
| .. | ||
| cloud | 7 years ago | |
| sanity | 7 years ago | |
| __init__.py | 9 years ago | |
| ansible_util.py | 7 years ago | |
| changes.py | 7 years ago | |
| classification.py | 7 years ago | |
| cli.py | 7 years ago | |
| config.py | 7 years ago | |
| core_ci.py | 7 years ago | |
| cover.py | 7 years ago | |
| csharp_import_analysis.py | 7 years ago | |
| delegation.py | 7 years ago | |
| diff.py | 9 years ago | |
| docker_util.py | 7 years ago | |
| executor.py | 7 years ago | |
| git.py | 7 years ago | |
| http.py | 8 years ago | |
| import_analysis.py | 9 years ago | |
| manage_ci.py | 7 years ago | |
| metadata.py | 8 years ago | |
| powershell_import_analysis.py | 8 years ago | |
| pytar.py | 7 years ago | |
| target.py | 7 years ago | |
| test.py | 8 years ago | |
| thread.py | 7 years ago | |
| util.py | 7 years ago | |