kubernetes/pkg/api/validation
Kubernetes Submit Queue a4f6cae9c9 Merge pull request #38741 from sandflee/validate-activeDeadline
Automatic merge from submit-queue

validate activeDeadlineSeconds in rs/rc

**What this PR does / why we need it**:
if setting activeDeadlineSeconds, deployment will continuously created new pods after old pod dies.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #38684

**Special notes for your reviewer**:

**Release note**:

```release-note
ActiveDeadlineSeconds is validated in workload controllers now, make sure it's not set anywhere (it shouldn't be set by default and having it set means your controller will restart the Pods at some point)
```
2017-03-29 14:53:13 -07:00
..
testdata/v1 Check for an empty value in validateField 2016-05-30 14:12:18 +10:00
BUILD Validation PVs for mount options 2017-03-09 18:24:37 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
events.go refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
events_test.go refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00
schema.go Improve error messages for ValidateObject method. 2017-01-24 09:12:06 +08:00
schema_test.go pkg/api/testing: cut off fuzzers from static codecs 2017-02-02 06:58:28 +01:00
validation.go Merge pull request #38741 from sandflee/validate-activeDeadline 2017-03-29 14:53:13 -07:00
validation_test.go Validation PVs for mount options 2017-03-09 18:24:37 -05:00