Skip to content

smpio/kube-yaml-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-yaml-formatter

Reformats YAML as Kubernetes does

Installation

Clone the repo and run make install to install it to /usr/local/bin. Docker is required to build.

Details

Kubernetes itself uses sigs.k8s.io/yaml, which is wrapper for gopkg.in/yaml.v2. sigs.k8s.io/yaml doesn't support saving map keys order, but gopkg.in/yaml.v2 do. So we use gopkg.in/yaml.v2 here.

About

Reformats YAML as Kubernetes does

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published