Additional tests around reusing the same bases and components

This commit is contained in:
Paul Martin
2020-05-28 19:50:00 +01:00
parent ab9d4c7e7b
commit 34a442bbef
3 changed files with 8 additions and 3 deletions

View File

@@ -463,7 +463,7 @@ configMapGenerator:
err := th.RunWithErr("/app/prod", th.MakeDefaultOptions())
if !strings.Contains(
err.Error(),
"apiVersion should be kustomize.config.k8s.io/v1alpha1") {
"apiVersion for Component should be kustomize.config.k8s.io/v1alpha1") {
t.Fatalf("unexpected error: %s", err)
}
}