Is there a way I can specify the helm release to be deployed on a custom namespace. All the helm resources are deployed on a custom namespace that I created by mentioning
namespace: {{ template "plugin.namespace" . }}
and this is taken from _helper.tpl
But the release by itself is in default namespace
helm ls
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
object-storage-plugin default 3 2021-08-04 15:42:30.833512 +0530 IST deployed object-storage-plugin-2.1.2 2.1.2
I know via command line we can set the namespace but I am looking for options from a template file where the namespace would be picked
I referred https://helm.sh/docs/chart_template_guide/getting_started/
With helm3 --create-namespace
creates new namespace but helm uninstall command doesnt delete this newly created NS.