Commit 8cb7d8f7 authored by Remi  PLANEL's avatar Remi PLANEL

Add script to remove legiolist release from kubernetes

parent b6e03f69
#!/bin/sh
RELEASE_NAME=${1:-dev}
NAMESPACE=${2:-legiolist-dev}
helm delete ${RELEASE_NAME} -n ${NAMESPACE}
kubectl delete -n ${NAMESPACE} job ${RELEASE_NAME}-builder
kubectl delete -n ${NAMESPACE} persistentvolumeclaim ${RELEASE_NAME}-mine-repo
kubectl delete -n ${NAMESPACE} persistentvolumeclaim ${RELEASE_NAME}-mine-properties
kubectl delete -n ${NAMESPACE} persistentvolumeclaim data-${RELEASE_NAME}-postgresql-0
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment