Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
etcd: Replace ghodss/yaml with sigs.k8s.io/yaml
To remove the dependency on ghodss/yaml. Replaced this dependency with sigs.k8s.io/yaml. This wil help to remove the ghodss/yaml dependency from main kubernetes repository. xref: kubernetes/kubernetes#77024
- Loading branch information
Showing
with
37 additions
and 43 deletions.
- +9 −9 bill-of-materials.json
- +2 −2 bill-of-materials.override.json
- +1 −1 clientv3/yaml/config.go
- +1 −1 clientv3/yaml/config_test.go
- +1 −1 embed/config.go
- +1 −1 embed/config_test.go
- +1 −1 etcdmain/config.go
- +1 −1 etcdmain/config_test.go
- +1 −1 go.mod
- +2 −2 go.sum
- 0 vendor/{github.com/ghodss → sigs.k8s.io}/yaml/LICENSE
- +1 −0 vendor/{github.com/ghodss → sigs.k8s.io}/yaml/fields.go
- +16 −23 vendor/{github.com/ghodss → sigs.k8s.io}/yaml/yaml.go
- 0 vendor/{github.com/ghodss → sigs.k8s.io}/yaml/yaml_go110.go
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -1,9 +1,9 @@ | ||
| [ | ||
| { | ||
| "project": "sigs.k8s.io/yaml", | ||
| "licenses": [ | ||
| { | ||
| "type": "BSD 3-clause \"New\" or \"Revised\" License" | ||
| } | ||
| ] | ||
| }, | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -20,7 +20,7 @@ import ( | ||
| "crypto/x509" | ||
| "io/ioutil" | ||
|
|
||
| "sigs.k8s.io/yaml" | ||
|
|
||
| "go.etcd.io/etcd/v3/clientv3" | ||
| "go.etcd.io/etcd/v3/pkg/tlsutil" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -21,7 +21,7 @@ import ( | ||
| "reflect" | ||
| "testing" | ||
|
|
||
| "sigs.k8s.io/yaml" | ||
| ) | ||
|
|
||
| var ( | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -24,7 +24,7 @@ import ( | ||
|
|
||
| "go.etcd.io/etcd/v3/pkg/transport" | ||
|
|
||
| "sigs.k8s.io/yaml" | ||
| ) | ||
|
|
||
| func TestConfigFileOtherFields(t *testing.T) { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -31,8 +31,8 @@ import ( | ||
| "go.etcd.io/etcd/v3/pkg/types" | ||
| "go.etcd.io/etcd/v3/version" | ||
|
|
||
| "go.uber.org/zap" | ||
| "sigs.k8s.io/yaml" | ||
| ) | ||
|
|
||
| var ( | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -23,8 +23,8 @@ import ( | ||
| "strings" | ||
| "testing" | ||
|
|
||
| "go.etcd.io/etcd/v3/embed" | ||
| "sigs.k8s.io/yaml" | ||
| ) | ||
|
|
||
| func TestConfigParsingMemberFlags(t *testing.T) { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.

