Update factory_test.go

This commit is contained in:
Jeff Regan
2021-01-16 20:24:39 -08:00
committed by GitHub
parent 720857623f
commit f23f26aa05

View File

@@ -343,15 +343,13 @@ kind: List
name: "listWithAnchorReference",
input: []types.PatchStrategicMerge{patchList2},
expectedOut: []*Resource{testDeploymentA, testDeploymentB},
// See https://github.com/kubernetes-sigs/kustomize/issues/3271
// This test should not have an error, but does when kyaml is used.
// TODO(#3271) This shouldn't have an error, but does when kyaml is used.
// The error using kyaml is:
// json: unsupported type: map[interface {}]interface {}
// probably arising from too many conversions between
// maybe arising from too many conversions between
// yaml, json, Resource, RNode, Unstructured etc.
// These conversions can be removed after closing
// https://github.com/kubernetes-sigs/kustomize/issues/2506
// TODO(#3304): DECISION - still a bug.
// These conversions go away after closing #3506
// TODO(#3304): DECISION - open bug with anchor references.
expectedErr: konfig.FlagEnableKyamlDefaultValue,
},
{