Skip to content

Commit 17ec006

Browse files
AvineshTripathiroytman
authored andcommitted
test: refactor Kustomize utils to support delete operations (kubernetes-sigs/gateway-api-inference-extension#2033)
* test: refactor Kustomize utils to support delete operations Added DeleteAndVerifyObjs and updated CreateCrdsFromKustomize to accept an action callback, enabling reuse for both creation and deletion workflows. Also exported CreateAndVerifyObjs for broader usage. Signed-off-by: AvineshTripathi <avineshtripathi1@gmail.com> * fix: lint error --------- Signed-off-by: AvineshTripathi <avineshtripathi1@gmail.com>
1 parent c296630 commit 17ec006

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/epp/e2e_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func setupInfra() {
136136
if strings.Contains(modelServerManifestArray[0], "hf-token") {
137137
createHfSecret(testConfig, modelServerSecretManifest)
138138
}
139-
testutils.CreateCrdsFromKustomize(testConfig, crdKustomizePath)
139+
testutils.ProcessKustomize(testConfig, crdKustomizePath, testutils.CreateAndVerifyObjs)
140140
testutils.ValidateCRDsEstablished(testConfig, expectedCRDs)
141141

142142
inferExtManifestPath := inferExtManifestDefault

0 commit comments

Comments
 (0)