From f64a16084cb04b7a2dbc77241a3a502361001b5b Mon Sep 17 00:00:00 2001 From: louiseschmidtgen Date: Wed, 5 Jun 2024 11:45:15 +0200 Subject: [PATCH] helm client create ns for contour --- src/k8s/pkg/client/helm/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/k8s/pkg/client/helm/client.go b/src/k8s/pkg/client/helm/client.go index 99e4d9465..ed69b1962 100644 --- a/src/k8s/pkg/client/helm/client.go +++ b/src/k8s/pkg/client/helm/client.go @@ -75,6 +75,8 @@ func (h *client) Apply(ctx context.Context, c InstallableChart, desired State, v install := action.NewInstall(cfg) install.ReleaseName = c.Name install.Namespace = c.Namespace + //TODO: Does this fails if the namespace already exists? + install.CreateNamespace = true chart, err := loader.Load(path.Join(h.manifestsBaseDir, c.ManifestPath)) if err != nil {