Skip to content

Commit

Permalink
helm client create ns for contour
Browse files Browse the repository at this point in the history
  • Loading branch information
louiseschmidtgen committed Jun 5, 2024
1 parent a0a36c3 commit f64a160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/k8s/pkg/client/helm/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f64a160

Please sign in to comment.