Commit 2e33f3f
authored
Merge pull request #17035 from smarterclayton/set_defaults
Automatic merge from submit-queue.
DeploymentConfig replicas should be optional, other fields too
Make a set of fields truly optional in openapi, and also make replicas a
pointer so we can default it.
Found this when I tried to use --validate - these were a bunch of obvious things.File tree
10 files changed
+39
-30
lines changed- api
- protobuf-spec
- swagger-spec
- pkg
- apps/apis/apps/v1
- image/apis/image/v1
- openapi
10 files changed
+39
-30
lines changedLines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23170 | 23170 | | |
23171 | 23171 | | |
23172 | 23172 | | |
23173 | | - | |
23174 | | - | |
| 23173 | + | |
23175 | 23174 | | |
23176 | 23175 | | |
23177 | 23176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87032 | 87032 | | |
87033 | 87033 | | |
87034 | 87034 | | |
87035 | | - | |
87036 | | - | |
| 87035 | + | |
87037 | 87036 | | |
87038 | 87037 | | |
87039 | 87038 | | |
| |||
87192 | 87191 | | |
87193 | 87192 | | |
87194 | 87193 | | |
87195 | | - | |
87196 | | - | |
87197 | | - | |
87198 | | - | |
87199 | | - | |
87200 | | - | |
87201 | 87194 | | |
87202 | 87195 | | |
87203 | 87196 | | |
| |||
90677 | 90670 | | |
90678 | 90671 | | |
90679 | 90672 | | |
90680 | | - | |
90681 | | - | |
90682 | | - | |
| 90673 | + | |
90683 | 90674 | | |
90684 | 90675 | | |
90685 | 90676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
556 | 558 | | |
557 | 559 | | |
558 | 560 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | 432 | | |
434 | 433 | | |
435 | 434 | | |
| |||
6741 | 6740 | | |
6742 | 6741 | | |
6743 | 6742 | | |
6744 | | - | |
| 6743 | + | |
6745 | 6744 | | |
6746 | 6745 | | |
6747 | 6746 | | |
| |||
0 commit comments