kubernetes/pkg/apis/core
Kubernetes Submit Queue 245ca8ef1f
Merge pull request #59291 from bsalamat/fix_validation
Automatic merge from submit-queue. 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>.

Remove validation failure of Pod priority when the feature is disabled

**What this PR does / why we need it**:
I learned that fields specified in the API should be silently ignored when the feature is disabled. This makes sense as downgrading a cluster would fail otherwise. This PR removes the validation logic that ensures Pod priority is not set when priority feature is disabled.

**Special notes for your reviewer**:

**Release note**:

```release-note
Pod priority can be specified ins PodSpec even when the feature is disabled, but it will be effective only when the feature is enabled.
```

/sig scheduling
ref: #57471
2018-02-12 11:54:39 -08:00
..
fuzzer generated 2017-11-22 18:40:09 +00:00
helper Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
install Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
pods Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
v1 Autogenerated files 2018-01-30 13:13:57 -08:00
validation Merge pull request #59291 from bsalamat/fix_validation 2018-02-12 11:54:39 -08:00
annotation_key_constants.go Addition of bootstrap checkpointing 2017-11-20 21:54:15 -06:00
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
doc.go deepcopy: remove deepcopy register tags 2017-11-10 18:25:26 +01:00
field_constants.go Add new Events API group 2017-11-22 18:40:09 +00:00
json.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
objectreference.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
OWNERS
register.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
resource.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
taint_test.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
taint.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
toleration_test.go add UT for apk/apis/core/toleration.go 2017-11-15 09:44:27 +08:00
toleration.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
types.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
zz_generated.deepcopy.go generated code and docs 2018-01-23 07:28:47 -05:00