From af206fee4991b459dbdd93d909407b7c2b20d01d Mon Sep 17 00:00:00 2001 From: Utkarsh Srivastava Date: Fri, 1 Jan 2021 19:59:40 +0530 Subject: [PATCH] add option to create namespace if doesn't already exists Signed-off-by: Utkarsh Srivastava --- traefik/install.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/traefik/install.go b/traefik/install.go index 85d86be..d146cc1 100644 --- a/traefik/install.go +++ b/traefik/install.go @@ -78,8 +78,9 @@ func (mesh *Mesh) applyHelmChart(del bool, version, namespace string) error { Chart: chart, Version: chartVersion, }, - Namespace: namespace, - Delete: del, + Namespace: namespace, + Delete: del, + CreateNamespace: true, }) return err