File tree Expand file tree Collapse file tree 6 files changed +7
-8
lines changed Expand file tree Collapse file tree 6 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 44
55require (
66 github.com/blang/semver/v4 v4.0.0
7- github.com/ghodss/yaml v1.0.0
87 github.com/go-bindata/go-bindata/v3 v3.1.3
98 github.com/google/cel-go v0.15.3
109 github.com/sirupsen/logrus v1.9.2
@@ -16,6 +15,7 @@ require (
1615 k8s.io/apimachinery v0.27.7
1716 k8s.io/client-go v0.27.7
1817 sigs.k8s.io/controller-runtime v0.15.0
18+ sigs.k8s.io/yaml v1.3.0
1919)
2020
2121require (
@@ -91,5 +91,4 @@ require (
9191 sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2 // indirect
9292 sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
9393 sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
94- sigs.k8s.io/yaml v1.3.0 // indirect
9594)
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.
7878github.com/envoyproxy/protoc-gen-validate v0.1.0 /go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c =
7979github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk =
8080github.com/felixge/httpsnoop v1.0.3 /go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U =
81- github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk =
8281github.com/ghodss/yaml v1.0.0 /go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04 =
8382github.com/go-bindata/go-bindata/v3 v3.1.3 h1:F0nVttLC3ws0ojc7p60veTurcOm//D4QBODNM7EGrCI =
8483github.com/go-bindata/go-bindata/v3 v3.1.3 /go.mod h1:1/zrpXsLD8YDIbhZRqXzm1Ghc7NhEvIN9+Z6R5/xH4I =
Original file line number Diff line number Diff line change 99 v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
1010 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
1111
12- "github.com/ghodss /yaml"
12+ "sigs.k8s.io /yaml"
1313)
1414
1515func TestValidateCRD (t * testing.T ) {
Original file line number Diff line number Diff line change 88
99 operatorsv1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"
1010
11- "github.com/ghodss/yaml"
1211 "github.com/operator-framework/api/pkg/validation/errors"
1312 "k8s.io/apimachinery/pkg/runtime/schema"
13+ "sigs.k8s.io/yaml"
1414)
1515
1616func TestValidateCSV (t * testing.T ) {
Original file line number Diff line number Diff line change 11package internal
22
33import (
4- "github.com/ghodss/yaml"
54 "io/ioutil"
6- "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
75 "testing"
6+
7+ "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
8+ "sigs.k8s.io/yaml"
89)
910
1011func TestValidateObject (t * testing.T ) {
Original file line number Diff line number Diff line change 55 "path/filepath"
66 "testing"
77
8- "github.com/ghodss/yaml"
98 operatorsv1 "github.com/operator-framework/api/pkg/operators/v1"
109 "github.com/operator-framework/api/pkg/validation/errors"
10+ "sigs.k8s.io/yaml"
1111)
1212
1313func TestValidateOperatorGroup (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments