From 9c8e2c062c650c2e5093d2e60e3298222d702772 Mon Sep 17 00:00:00 2001 From: Vibhav Bobade Date: Tue, 31 Oct 2023 21:09:22 +0530 Subject: [PATCH] make kustomize work --- .github/workflows/e2e.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 20ad8ca..c7d0ec4 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -104,11 +104,14 @@ jobs: run: | # Change the image name to those just built and pushed. kustomize edit set image uffizzi/hello-world-k8s=${{ needs.build-image.outputs.tags }} - + + cp ./kubeconfig-1276 ./kubeconfig-1282 ./github/k8s # Apply kustomized manifests to virtual cluster. - kubectl apply --kustomize .github/k8s --kubeconfig ./kubeconfig-1276 - kubectl apply --kustomize .github/k8s --kubeconfig ./kubeconfig-1282 - + ( + cd ./github/k8s + kubectl apply --kustomize . --kubeconfig ./kubeconfig-1276 + kubectl apply --kustomize . --kubeconfig ./kubeconfig-1282 + ) # Allow uffizzi to sync the resources sleep 5