kubernetes/pkg/api/validation
Kubernetes Submit Queue 36aa4a9ac0 Merge pull request #40225 from shiywang/newtest
Automatic merge from submit-queue (batch tested with PRs 40066, 36250, 40255, 40225, 40204)

Fix validation errors in cli are cryptic

fix issue https://github.com/kubernetes/kubernetes/issues/39811

now the error message is like: 
`error validating "/home/shiywang/template/test.yaml": error validating data: field ports for v1.ServiceSpec: is required; if you choose to ignore these errors, turn validation off with --validate=false`

still need add some unit test, plz don't test now
2017-01-23 02:29:09 -08:00
..
genericvalidation refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
path Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
testdata/v1 Check for an empty value in validateField 2016-05-30 14:12:18 +10:00
BUILD Use versioned Taint/Toleration/AllowPods objects when marshalling 2017-01-18 12:52:14 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
events.go mechanical repercussions 2017-01-13 08:27:14 -05:00
events_test.go refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00
schema.go fix validation errors in cli are cryptic 2017-01-21 00:44:48 +08:00
schema_test.go mechanical repercussions 2017-01-13 08:27:14 -05:00
validation.go Secrets can populate environment variables 2017-01-19 13:46:05 -05:00
validation_test.go Secrets can populate environment variables 2017-01-19 13:46:05 -05:00