Skip to content

Commit 85330b8

Browse files
Revert yaml.v3 bump (#616)
* Revert yaml.v3 bump It causes indents to change for all lists in the `manifestYamlFromJson` native function * Add test so that we don't bump yaml.v3 again by mistake
1 parent b73cfca commit 85330b8

File tree

3 files changed

+53
-66
lines changed

3 files changed

+53
-66
lines changed

go.mod

+9-2
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,24 @@ require (
1111
github.com/gobwas/glob v0.2.3
1212
github.com/google/go-cmp v0.5.6
1313
github.com/google/go-jsonnet v0.17.0
14+
github.com/google/uuid v1.1.2 // indirect
1415
github.com/huandu/xstrings v1.3.2 // indirect
1516
github.com/karrick/godirwalk v1.16.1
17+
github.com/kr/text v0.2.0 // indirect
18+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
1619
github.com/pkg/errors v0.9.1
1720
github.com/posener/complete v1.2.3
1821
github.com/spf13/pflag v1.0.5
1922
github.com/stretchr/objx v0.3.0
2023
github.com/stretchr/testify v1.7.0
2124
github.com/thoas/go-funk v0.9.1
2225
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
26+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
27+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
2328
gopkg.in/yaml.v2 v2.4.0
24-
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
25-
k8s.io/apimachinery v0.22.2
29+
// yaml.v3 should be bumped with care. The new versions change all list indents
30+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
31+
k8s.io/apimachinery v0.20.0-beta.1
32+
k8s.io/klog/v2 v2.9.0 // indirect
2633
sigs.k8s.io/yaml v1.3.0
2734
)

0 commit comments

Comments
 (0)