ansible/test
Will Thames aaf29c785f Provide Kubernetes resource validation to k8s module (#43352)
* 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
2018-11-16 12:44:59 +00:00
..
cache
integration Provide Kubernetes resource validation to k8s module (#43352) 2018-11-16 12:44:59 +00:00
legacy Add support for Scaleway object storage (#46353) 2018-11-09 16:16:53 +00:00
results
runner Provide Kubernetes resource validation to k8s module (#43352) 2018-11-16 12:44:59 +00:00
sanity Add test to require docs for action plugins. (#48376) 2018-11-13 22:52:36 -08:00
units Add new linode_v4 module. (#46151) 2018-11-16 12:39:05 +00:00
utils Fix passing of env vars to Shippable. 2018-11-14 10:50:31 -08:00