Commit 084715a
Kubernetes Submit Queue
Merge pull request #62448 from k82cn/k8s_62002
Automatic merge from submit-queue (batch tested with PRs 62448, 59317, 59947, 62418, 62352). 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>.
Removed no-empty validation of nodeSelectorTerm.matchExpressions.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
part of #62002
**Release note**:
```release-note
Pod affinity `nodeSelectorTerm.matchExpressions` may now be empty, and works as previously documented: nil or empty `matchExpressions` matches no objects in scheduler.
```2 files changed
+41
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3005 | 3005 | | |
3006 | 3006 | | |
3007 | 3007 | | |
3008 | | - | |
3009 | | - | |
3010 | | - | |
3011 | 3008 | | |
3012 | 3009 | | |
3013 | 3010 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6069 | 6069 | | |
6070 | 6070 | | |
6071 | 6071 | | |
| 6072 | + | |
| 6073 | + | |
| 6074 | + | |
| 6075 | + | |
| 6076 | + | |
| 6077 | + | |
| 6078 | + | |
| 6079 | + | |
| 6080 | + | |
| 6081 | + | |
| 6082 | + | |
| 6083 | + | |
| 6084 | + | |
| 6085 | + | |
| 6086 | + | |
| 6087 | + | |
| 6088 | + | |
| 6089 | + | |
| 6090 | + | |
| 6091 | + | |
| 6092 | + | |
| 6093 | + | |
| 6094 | + | |
| 6095 | + | |
| 6096 | + | |
| 6097 | + | |
| 6098 | + | |
| 6099 | + | |
| 6100 | + | |
| 6101 | + | |
| 6102 | + | |
| 6103 | + | |
| 6104 | + | |
| 6105 | + | |
| 6106 | + | |
| 6107 | + | |
| 6108 | + | |
| 6109 | + | |
| 6110 | + | |
| 6111 | + | |
| 6112 | + | |
6072 | 6113 | | |
6073 | 6114 | | |
6074 | 6115 | | |
| |||
6517 | 6558 | | |
6518 | 6559 | | |
6519 | 6560 | | |
6520 | | - | |
6521 | | - | |
6522 | | - | |
6523 | | - | |
6524 | | - | |
6525 | | - | |
6526 | | - | |
6527 | | - | |
6528 | | - | |
6529 | | - | |
6530 | | - | |
6531 | | - | |
6532 | | - | |
6533 | | - | |
6534 | | - | |
6535 | | - | |
6536 | | - | |
6537 | | - | |
6538 | | - | |
6539 | | - | |
6540 | 6561 | | |
6541 | 6562 | | |
6542 | 6563 | | |
| |||
0 commit comments