Skip to content

Commit

Permalink
Small fix on instruction to delete PVC
Browse files Browse the repository at this point in the history
  • Loading branch information
camilb committed Aug 13, 2018
1 parent 2f90e0a commit ad0df1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teardown
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ kubectl get crd -o 'jsonpath={.items[*].metadata.name}' | xargs -n 1 | fgrep cor
#manually remove persistent volumes instructions
echo -e "${GREEN}The persistent volumes for Grafana and Prometeus were not removed!"
echo -e "${GREEN}To remove them, please run te following command:"
echo -e "${WHITE}kubectl get pvc -n ${NAMESPACE} | grep 'grafana\|prometheus' | cut -d " " -f 1 | xargs -n 1 kubectl delete pvc -n ${NAMESPACE}"
echo -e "${WHITE}kubectl get pvc -n ${NAMESPACE} | grep 'grafana\|prometheus' | cut -d '" "' -f 1 | xargs -n 1 kubectl delete pvc -n ${NAMESPACE}"

#clean sed generated files
find . -name "*.yaml-e" -exec rm -rf {} \;
Expand Down

0 comments on commit ad0df1a

Please sign in to comment.