k3s/pkg/api/validation
Kubernetes Submit Queue 91cef78f43 Merge pull request #46640 from derekwaynecarr/active-deadline-seconds-fix
Automatic merge from submit-queue (batch tested with PRs 46661, 46562, 46657, 46655, 46640)

Improve validation of active deadline seconds

**What this PR does / why we need it**:
Improve validation of active deadline seconds to not allow it to be larger than max uint32.

If users choose a value that is too large, the conversion of that value to a duration in seconds can cause an overflow.  I see no practical benefit of having a value larger than uint32 at this time.

xref: https://bugzilla.redhat.com/show_bug.cgi?id=1456156

**Release note**:
```release-note
Restrict active deadline seconds max allowed value to be maximum uint32
```
2017-05-31 01:08:11 -07:00
..
testdata/v1
BUILD Autogenerated files 2017-05-16 21:55:51 -07:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00
doc.go
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
schema.go Merge pull request #45390 from mbohlool/c4 2017-05-05 16:39:08 -07:00
schema_test.go pkg/api/testing: cut off fuzzers from static codecs 2017-02-02 06:58:28 +01:00
validation.go Active deadline seconds validation improvements 2017-05-30 14:57:06 -04:00
validation_test.go Merge pull request #46640 from derekwaynecarr/active-deadline-seconds-fix 2017-05-31 01:08:11 -07:00