Commit 3b25e5d
committed
Set min and max values on Webhook Container Port
Problem: Operator Authors can create CSVs that define Webhooks with
containerPorts set outside the range of 0-65535, which prevents the
ValidatingWebhookConfiguration or MutatingWebhookConfiguration from
being created due to failed validation.
Solution: Update the CSV's CRD Validation to include the proper min and
max values for webhookDescription ContainerPort field.1 parent 0031546 commit 3b25e5d
File tree
3 files changed
+19
-9
lines changed- crds
- pkg/operators/v1alpha1
3 files changed
+19
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8704 | 8704 | | |
8705 | 8705 | | |
8706 | 8706 | | |
| 8707 | + | |
| 8708 | + | |
8707 | 8709 | | |
8708 | 8710 | | |
8709 | 8711 | | |
| |||
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 | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
192 | 197 | | |
193 | 198 | | |
194 | 199 | | |
| |||
213 | 218 | | |
214 | 219 | | |
215 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
216 | 224 | | |
217 | 225 | | |
218 | 226 | | |
| |||
0 commit comments