Extend shell script
Just add some more stuff
Start file
helm uninstall -n pcc-1 pcc-1
kubectl delete ns pcc-1
cd ~/helm-install/pcc-1/
./helm-install-1.6.sh
End file
helm uninstall -n pcc-1 pcc-1
helm uninstall -n pcg-1 pcg-1
helm uninstall -n pcg-2 pcg-2
kubectl delete ns pcc-1
kubectl delete ns pcg-1
kubectl delete ns pcg-2
cd ~/helm-install/pcc-1/
./helm-install-1.6.sh
cd ~/helm-install/pcg-1/
./helm-install-1.1.sh
cd ~/helm-install/pcg-2/
./helm-install-1.1.sh
View Diff
1a2,3
> helm uninstall -n pcg-1 pcg-1
> helm uninstall -n pcg-2 pcg-2
2a5,6
> kubectl delete ns pcg-1
> kubectl delete ns pcg-2
4a9,12
> cd ~/helm-install/pcg-1/
> ./helm-install-1.1.sh
> cd ~/helm-install/pcg-2/
> ./helm-install-1.1.sh
Solutions by @ittk_dev:
Unlock 1 remaining solutions by signing in and submitting your own entry