Skip to content

Commit

Permalink
just: remove cases with ns.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
davidweisse committed Nov 5, 2024
1 parent 80c197b commit 03e2b6f
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,6 @@ apply-runtime target=default_deploy_target platform=default_platform:
apply target=default_deploy_target:
#!/usr/bin/env bash
set -euo pipefail
case {{ target }} in
"openssl" | "emojivoto" | "volume-stateful-set")
:
;;
*)
kubectl apply -f ./{{ workspace_dir }}/deployment/ns.yml
;;
esac
kubectl apply -f ./{{ workspace_dir }}/deployment
# Delete Kubernetes manifests.
Expand All @@ -175,15 +167,7 @@ undeploy platform=default_platform:
--cascade=foreground \
--ignore-not-found
fi
if [[ -f ./{{ workspace_dir }}/deployment/ns.yml ]]; then
kubectl delete \
-f ./{{ workspace_dir }}/deployment \
--ignore-not-found \
--grace-period=30 \
--timeout=10m
else
kubectl delete namespace $ns
fi
kubectl delete namespace $ns
upload-image:
# Ensure that the resource group exists.
Expand Down

0 comments on commit 03e2b6f

Please sign in to comment.