Autocreate namespace if not present #1127
Labels
area/chart-deployment
Issues related to the deployment of charts with helm
kind/feature
New feature or feature request
Is your feature request related to a problem?
Yes
Which solution do you suggest?
One of the following:
ensureNamespace: true
to enable this.IMHO the first option is nicer.
Which alternative solutions exist?
hooks but are very verbose and overkill for a task that needs to be executed only once.
Additional context
in my case i have the following (which is part of a bigger file):
however, when somebody runs it for the first time devspace aborts because no namespace
management
exists.This is not really a problem for Kustomization/manifests since it can be added inside, but for helm charts deployments the only solutions I found are:
kubectl create ns management
because it's not idempotent)I personally don't find neither solutions very appealing nor following k8s style.
Any suggestions?
/kind feature
The text was updated successfully, but these errors were encountered: