Skip to content

Commit

Permalink
Update factory_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
monopole authored Jan 17, 2021
1 parent 7208576 commit f23f26a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions api/resource/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down

0 comments on commit f23f26a

Please sign in to comment.