• Walter Fender's avatar
    Fix flaky AdmissionWebhook e2e-crd tests · 0bdf2980
    Walter Fender authored
    Several of the tests("It") in the e2e suite reuse the CRD.
    However they each try to setup and tear down the CRD independently.
    Since these tests can be running in parallel, causing intermittant
    failures.
    Added a new framework utility for creating CRDs per test.
    Then making the relevant tests use the utility to prevent name
    collision/race.
    Fixed bazel build.
    Factored in fixes for @caesarxuchao
    Making suggested change for @janetkuo
    0bdf2980
crd_util.go 3.94 KB