#!/bin/bash cd "$(dirname "$0")" kubectl delete -n overleaf -f ./overleaf/overleaf-variables.yaml -f ./overleaf/overleaf-deployment.yaml -f ./overleaf/overleaf-service.yaml kubectl delete -f overleaf/reg-secret.yaml #kubectl delete -f ./overleaf/overleaf-pvc.yaml # helm uninstall mongo --namespace overleaf helm uninstall redis --namespace overleaf ## Uncomment following ling to expose the application via ingress #kubectl apply -n overleaf -f ./overleaf/overleaf-ingress.yaml