k3s/pkg/apis/policy
Kubernetes Submit Queue a50b3a9276 Merge pull request #48706 from dixudx/fix_bug_validating_pdb_spec
Automatic merge from submit-queue

fix pdb validation bug on spec

**What this PR does / why we need it**:

When working on issue #48691, I found a bug on current [pdb validation on spec](https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/policy/validation/validation.go#L41-L42). This validation is to check `PodDisruptionBudgetSpec` instead of the whole obj. Currently when doing updates, this check will fail as always.

**Which issue this PR fixes** : fix #48691

**Special notes for your reviewer**:

**Release note**:

```release-note
fix pdb validation bug on PodDisruptionBudgetSpec
```
2017-07-27 23:26:49 -07:00
..
install run pkg/apis/make-origin-dir-compile, pkg/apis compile 2017-06-22 11:30:51 -07:00
v1alpha1 update tags in types for new genclient syntax 2017-07-24 22:05:21 +02:00
v1beta1 run hack/update-all 2017-06-22 11:31:03 -07:00
validation fix pdb validation bug on spec 2017-07-12 16:44:28 +08:00
BUILD autogenerated 2017-04-14 10:40:57 -07:00
OWNERS Move PDB controller and type ownership to SIG-Apps 2017-05-22 12:55:28 -07:00
doc.go stop generating openapi schemas for internal types 2016-12-09 02:41:45 -05:00
register.go Move all *Options to metav1 2017-01-24 13:15:26 -05:00
types.go update tags in types for new genclient syntax 2017-07-24 22:05:21 +02:00
zz_generated.deepcopy.go Update generated code 2017-07-18 09:28:49 +02:00