Label created namespace

Signed-off-by: Simon Rüegg <simon@rueggs.ch>
pull/9422/head
Simon Rüegg 5 years ago
parent b30f61d76d
commit d3b574cd4c
No known key found for this signature in database
GPG Key ID: 11A78496DEFFCC89

@ -292,7 +292,8 @@ func (i *Install) Run(chrt *chart.Chart, vals map[string]interface{}) (*release.
ObjectMeta: metav1.ObjectMeta{
Name: i.Namespace,
Labels: map[string]string{
"name": i.Namespace,
"name": i.Namespace,
appManagedByLabel: appManagedByHelm,
},
},
}

@ -48,6 +48,7 @@ func installAction(t *testing.T) *Install {
instAction := NewInstall(config)
instAction.Namespace = "spaced"
instAction.ReleaseName = "test-install-release"
instAction.CreateNamespace = true
return instAction
}

Loading…
Cancel
Save