Commit 537caf5
committed
fix(validation): Fix CRD v1beta int-float conversion error
During bundle content validation, manifest files are converted to
`unstructured` type and then convert back to CRD type which causes
conversion error between int to float. Shouldn't use `unstructured`
type as an intermediate type.
Signed-off-by: Vu Dinh <[email protected]>1 parent 18b8ef3 commit 537caf5
File tree
2 files changed
+13
-2
lines changed- pkg/lib/bundle
- testdata/validate/valid_bundle/manifests
2 files changed
+13
-2
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | | - | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
| |||
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
333 | | - | |
| 334 | + | |
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
| |||
0 commit comments