undeploy.sh 483 B

12345678910111213141516
  1. #!/bin/bash
  2. cd "$(dirname "$0")"
  3. #kubectl create namespace overleaf
  4. kubectl delete -n overleaf -f ./overleaf/overleaf-service.yaml -f ./overleaf/overleaf-deployment.yaml -f ./overleaf/overleaf-variables.yaml
  5. #
  6. #kubectl delete -f ./overleaf/overleaf-pvc.yaml
  7. #helm uninstall mongo --namespace overleaf
  8. #helm uninstall redis --namespace overleaf
  9. ## Uncomment following ling to expose the application via ingress
  10. #kubectl apply -n overleaf -f ./overleaf/overleaf-ingress.yaml