KUBERNETES-SPLIT-YAML(1)
π KUBERNETES-SPLIT-YAML(1) π
okay bestie, so this is a User Commands situation, section 1, and the tool is called kubernetes-split-yaml. Buckle up, it's lowkey iconic. π
β¨ NAME β¨
kubernetes-split-yaml β literally splits a giant yaml file into one file per Kubernetes resource. no cap. π¦
πΈ DESCRIPTION πΈ
π NAME:
kubernetes-split-yaml β Split the 'giant yaml file' into one file pr kubernetes resource
(yeah, "pr" β that's what it says, we're keeping it, it's part of the lore π)
π«Ά USAGE:
kubernetes-split-yaml [global options] command [command options] [arguments...]
π COMMANDS:
help,hβ Shows a list of commands or help for one command
β GLOBAL OPTIONS:
--outdir valueβ output dir (default:"generated")--template_sel valueβ pre-set template to use (default:"tpl_flat")--tpl_flat outdirβ tpl_flat gotemplate (.X.Outdiris set to outdir flag) (default:"{{.X.Outdir}}/{{.Metadata.Name}}-{{.X.ShortKind}}.yaml")--tpl_ns valueβ tpl_ns gotemplate (.X.NSequals.Metadata.Namespaceor'_no_ns_'if unset) (default:"{{.X.Outdir}}/{{.X.NS}}/{{.Metadata.Name}}.{{.Kind}}.yaml")--name_re valueβ Kubernetes API metadata.name to match (default:"^[^/ ]+$")--namespace_re valueβ Kubernetes API metadata.namespace to match (default:"^(|[a-z0-9]([-a-z0-9]*[a-z0-9])?)$")--kind_re valueβ Kubernetes API kind to match (default:"^[0-9a-zA-Z]+$")--file_re valueβ final output file regex to match (default:".+")--help,-hβ show help (default:false)
bestie fr fr, those regex defaults are not a vibe check you wanna skip β they're the whole filter situation, so read them before you start yaml-splitting into the void π
π§ the sign-off π§
this was kubernetes-split-yaml version 0.4.0, dated August 2023. periodt. ππΈβ¨
π¦ where this page comes from
- ubuntu noble: kubernetes-split-yaml 0.4.0-1build1 Β· MIT
- ubuntu questing: kubernetes-split-yaml 0.4.0-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms