From 7e369e868b0b5ce8206aec1846d9cd4352ed0e93 Mon Sep 17 00:00:00 2001 From: Prasad Ghangal Date: Thu, 24 Jun 2021 13:02:41 +0530 Subject: [PATCH] Use correct reference while creating namespace Signed-off-by: Prasad Ghangal --- pkg/apps/raw/raw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apps/raw/raw.go b/pkg/apps/raw/raw.go index 2ccdebf..7c3255e 100644 --- a/pkg/apps/raw/raw.go +++ b/pkg/apps/raw/raw.go @@ -119,7 +119,7 @@ func (r *App) Install(ctx context.Context, name, namespace, version string, opti return err } - if err := kube.CreateNamespace(ctx, r.KubeCli, r.App.Namespace); err != nil && !k8sErrors.IsAlreadyExists(err) { + if err := kube.CreateNamespace(ctx, r.KubeCli, namespace); err != nil && !k8sErrors.IsAlreadyExists(err) { return err }