Deploying a Helm Chart in a specific namespace

(Rémy Greinhofer) #1

I am trying to deploy a Helm Charts to a specific namespace, but I cannot find where to specify it in the process step configuration. For now, the charts end up in the default namespace, which works but is not what I want.

How can I specify the namespace?

(Michael Richardson) #3

Hi Rémy,

Currently, the only place you can specify the namespace is on the Kubernetes deployment targets. This namespace from the target is written into the kubectl context, and as long as you’re using a version of Helm >= 2.6.1 then Helm will use this.

We have an open issue to allow this namespace to be overriden by the Helm Upgrade step, which we plan on implementing soon.

In the meantime, if setting the namespace on the deployment target is not suitable, you can always fallback to using a Run a kubectl CLI script step and scripting the helm upgrade ... command yourself.

I hope that helps.