kubernauts / tk8

CLI to deploy Kubernetes with RKE, EKS or Kubeadm and deploy additional addons
Apache License 2.0
266 stars 48 forks source link

Tweaking addon addition/removal functionality #89

Closed ipochi closed 5 years ago

ipochi commented 5 years ago

Adding functionality for addons where different main.sh is required for removal and installation.

Added a new file - destroy.sh If an addon subfolder has this file, then this to be executed else execute main.sh for addon removal.

example: helm where installation and removal of tiller component happens with the help of helm init and helm reset and not yaml files

also fixed a bug which wasnt destroying the installed addons from the cluster Signed-off-by: Imran Pochi pochiimran@yahoo.co.in