From c035922dad99364d92dde62e3105da5a8ea75718 Mon Sep 17 00:00:00 2001 From: "Doroszlai, Attila" Date: Wed, 5 Jul 2023 15:57:52 +0200 Subject: [PATCH] HDDS-8979. error validating kustomization.yaml --- hadoop-ozone/dist/src/main/k8s/examples/testlib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh b/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh index 0efdfff95e5..5c777b7e758 100644 --- a/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh +++ b/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh @@ -76,7 +76,7 @@ start_k8s_env() { kubectl delete pv --all print_phase "Applying k8s resources from $(basename $(pwd))" - kubectl apply -f . + kubectl apply -k . wait_for_startup } @@ -92,7 +92,7 @@ get_logs() { stop_k8s_env() { if [ ! "$KEEP_RUNNING" ]; then - kubectl delete -f . + kubectl delete -k . fi }