Commit 13c9ef7
committed
test: Fix CRD conversion failures
The current testing script immediately continues to run tests
after all required operators are installed. This can lead to CRD
conversion failures because all resources (this includes custom
ones) are applied by kuttl immediately after. All custom resources
(SecretClasses in this case) use v1alpha1 (to additionally test
the conversion) and as such cannot be converted to the stored
v1alpha2 version when the conversion webhook is not running yet.
To remedy this, a 10 second wait is introduced after the operator
installation. A far better solution is to wait for a Kubernetes
status condition, but that is more involved. I would like to stop
bolting on functionality to the test script and instead move these
features into our new (hopefully coming soon) tooling.1 parent 5ec590c commit 13c9ef7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| 441 | + | |
440 | 442 | | |
441 | 443 | | |
442 | 444 | | |
| |||
0 commit comments