undeploy.sh 462 B

1234567891011121314
  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 -f ./overleaf/overleaf-pvc.yaml
  5. helm uninstall mongo --namespace overleaf
  6. helm uninstall redis --namespace overleaf
  7. ## Uncomment following ling to expose the application via ingress
  8. #kubectl apply -n overleaf -f ./overleaf/overleaf-ingress.yaml