A CLI to split multidoc yaml formatted kubernetes descriptors to a set of single resource files
Project description
kubesplit
Split a multidoc YAML file of Kubernetes descriptors into a set of single-resource files — one file per resource, nicely formatted and grouped by namespace.
If you just want an opinionated YAML formatter, have a look at yamkix.
Documentation
📖 Full documentation: https://looztra.github.io/kubesplit/
It follows the Diátaxis framework:
- Getting started tutorial
- How-to guides (install, split, organize output, control quotes, Kustomize/Helm)
- CLI reference and file naming rules
- How kubesplit works
Quick start
# Install (see the docs for pip / Docker / mise alternatives)
uv tool install kubesplit
# Split a file into an output directory
kubesplit --input all-in-one.yml --output out
# Or read from STDIN (compose with kustomize / helm)
kustomize build overlays/prod | kubesplit -q -i - -o generated/prod
Contributing
See the contributing guide.
Credits
- Kubesplit uses the awesome ruamel.yaml library and the yamkix formatter.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kubesplit-0.6.0-py3-none-any.whl.
File metadata
- Download URL: kubesplit-0.6.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf6da280ee1b83450cb146bcfabf30c7fd443f6b68990741e077793e8c12a721
|
|
| MD5 |
55bea0549bfed8b3edc7b75546538eb2
|
|
| BLAKE2b-256 |
1590a65236a715caa0c758c5bc9fecfb5aec6c3060dfde27206ca2aa1be6e651
|
Provenance
The following attestation bundles were made for kubesplit-0.6.0-py3-none-any.whl:
Publisher:
code_checks.yml on looztra/kubesplit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kubesplit-0.6.0-py3-none-any.whl -
Subject digest:
bf6da280ee1b83450cb146bcfabf30c7fd443f6b68990741e077793e8c12a721 - Sigstore transparency entry: 2081519658
- Sigstore integration time:
-
Permalink:
looztra/kubesplit@24d2175542ef227728bd5935f8f121dc711d4837 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/looztra
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
code_checks.yml@24d2175542ef227728bd5935f8f121dc711d4837 -
Trigger Event:
push
-
Statement type: