DOKK / manpages / debian 12 / kubernetes-split-yaml / kubernetes-split-yaml.1.en
KUBERNETES-SPLIT-YAML(1) User Commands KUBERNETES-SPLIT-YAML(1)

kubernetes-split-yaml - Split a giant yaml file into one file per Kubernetes resource

kubernetes-split-yaml - Split the 'giant yaml file' into one file pr kubernetes resource

kubernetes-split-yaml [global options] command [command options] [arguments...]

Shows a list of commands or help for one command

output dir (default: "generated")
pre-set template to use (default: "tpl_flat")
tpl_flat gotemplate (.X.Outdir is set to outdir flag) (default: "{{.X.Outdir}}/{{.Metadata.Name}}-{{.X.ShortKind}}.yaml")
tpl_ns gotemplate (.X.NS equals .Metadata.Namespace or '_no_ns_' if unset) (default: "{{.X.Outdir}}/{{.X.NS}}/{{.Metadata.Name}}.{{.Kind}}.yaml")
Kubernetes API metadata.name to match (default: "^[^/ ]+$")
Kubernetes API metadata.namespace to match (default: "^(|[a-z0-9]([-a-z0-9]*[a-z0-9])?)$")
Kubernetes API kind to match (default: "^[0-9a-zA-Z]+$")
final output file regex to match (default: ".+")
show help (default: false)
April 2023 kubernetes-split-yaml 0.3.0