#!/bin/bash

if [ "$1" = "i" ]
then
   for i in firefly gogs mealie mediawiki navidrome nextcloud repostajes wordpress
   do
      helm install $i ./$i-chart --namespace=$i --create-namespace
   done
elif [ "$1" = "u" ]
then
   for i in firefly gogs mealie mediawiki navidrome nextcloud repostajes wordpress
   do
      helm uninstall $i -n $i
   done
else
	echo "Falta comando: i=instalar, u=desinstalar"
fi
