kubernetes/pkg/apis/core/validation
Kubernetes Submit Queue 3479549a62
Merge pull request #55532 from ianchakeres/validate-greater-than-zero-pv-pvc
Automatic merge from submit-queue (batch tested with PRs 55009, 55532, 55601, 52569, 55533). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Validate that PV capacity and PVC capacity requests are positive, greater than 0

**What this PR does / why we need it**:  Zero (0) capacity PVs cause related pods to fail, and zero (0) capacity PVCs create zero (0) capacity PVs.

**Which issue(s) this PR fixes** :
Fixes #55553

**Special notes for your reviewer**:

**Release note**:

```release-note
Validate positive capacity for PVs and PVCs.
```
2017-11-14 00:09:48 -08:00
..
BUILD Update generated files 2017-11-09 12:14:08 +01:00
doc.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
events.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
events_test.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
OWNERS Move core api to pkg/apis/core 2017-11-09 12:08:42 +01:00
validation.go Merge pull request #55532 from ianchakeres/validate-greater-than-zero-pv-pvc 2017-11-14 00:09:48 -08:00
validation_test.go Merge pull request #55532 from ianchakeres/validate-greater-than-zero-pv-pvc 2017-11-14 00:09:48 -08:00