#!/bin/bash

cd "$(dirname "$0")"

#kubectl create namespace overleaf


kubectl delete -n overleaf -f ./overleaf/overleaf-service.yaml -f ./overleaf/overleaf-deployment.yaml -f ./overleaf/overleaf-variables.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
