Replace github.com/ghodss/yaml with sigs.k8s.io/yaml#7005
Replace github.com/ghodss/yaml with sigs.k8s.io/yaml#7005openshift-merge-robot merged 1 commit intoredhat-developer:mainfrom Juneezee:chore/yaml
github.com/ghodss/yaml with sigs.k8s.io/yaml#7005Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
|
Hi @Juneezee. Thanks for your PR. I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Kudos, SonarCloud Quality Gate passed!
|
|
/hold I remember we have chosen to use this specific library in this specific place because the k8s.io one was not working the same way. I need to check if this is still true with the current versions |
At the time of making this commit, the package `github.com/ghodss/yaml` is no longer actively maintained. `sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively maintained by Kubernetes SIG. Signed-off-by: Eng Zer Jun <[email protected]>
|
Kudos, SonarCloud Quality Gate passed!
|
|
/unhold |
|
/lgtm Thanks @Juneezee for this change. |
|
/ok-to-test |








What type of PR is this:
/area refactoring
What does this PR do / why we need it:
The
github.com/ghodss/yamlpackage is no longer actively maintained. There are numerous inquiries about the project's status on its issue tracker: https://github.com/ghodss/yaml/issues.sigs.k8s.io/yamlis a permanent fork ofgithub.com/ghodss/yaml, which is actively maintained by Kubernetes SIG and widely used in K8s projects.Since
sigs.k8s.io/yamlwas already a dependency before this pull request was made, we can remove 1 extra dependency by replacinggithub.com/ghodss/yamlwithsigs.k8s.io/yaml.Which issue(s) this PR fixes:
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: