1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Update pkg/kustomize to v0.1.0

If implemented this fixes a bug where retrieving the groupVersion.Group
of a kustomization were returning an empty string.

Signed-off-by: Soule BA <soule@weave.works>
This commit is contained in:
Soule BA
2022-04-01 10:27:37 +02:00
parent 4f4a5c0ba0
commit 1807852b6b
8 changed files with 441 additions and 3 deletions

View File

@@ -54,6 +54,12 @@ func TestBuildKustomization(t *testing.T) {
resultFile: "./testdata/build-kustomization/podinfo-without-service-result.yaml",
assertFunc: "assertGoldenTemplateFile",
},
{
name: "build deployment and configmpa with var substitution",
args: "build kustomization podinfo --path ./testdata/build-kustomization/var-substitution",
resultFile: "./testdata/build-kustomization/podinfo-with-var-substitution-result.yaml",
assertFunc: "assertGoldenTemplateFile",
},
}
tmpl := map[string]string{