kdwils / splinter Goto Github PK
View Code? Open in Web Editor NEWCLI to split kubernetes manifests into their own manifests separated by resource kind, or alternatively merge manifests into a single file.
CLI to split kubernetes manifests into their own manifests separated by resource kind, or alternatively merge manifests into a single file.
splinter includes yaml files that are not kubernetes manifests, and therefore creates invalid manifests
instead, splinter should ignore any files that are not valid kubernetes manifests
run splinter in a directory where yaml files exists but are not kuberentes resources
No response
Linux
No response
Instead of always writing to disk during a merge, there should be an option to write to stdout instead. This allows more flexibility for users to consume the output.
splinter merge my-dir --std-out
would instead write to stdout rather than to disk
No response
add a flag to delete any resources that are merged into a single manifest so they do not have to be deleted manually
splinter --merge . -d
deletes all merged resources
merge flag causes command to fail due to defaulting output path to a directory instead of a file path
go run main.go split --merge examples/split
results in an exit code of 1 as we attempt to write to a directory instead of a file
Error: open /Users/kylewilson/go-work/src/github.com/kdwils/splinter: is a directory
Usage:
splinter [flags]
Flags:
--config string config file (default is $HOME/.splinter.yaml)
-e, --exclusions strings files or directories to exclude
-h, --help help for splinter
-i, --input strings provide /path/to/input/ or input.yaml
-k, --kustomize spit out a kustomization.yaml
--merge merge splintered manifests back together
-o, --output string provide /path/to/output/dir (default "/Users/kylewilson/go-work/src/github.com/kdwils/splinter")
-t, --toggle Help message for toggle
open /Users/kylewilson/go-work/src/github.com/kdwils/splinter: is a directory
Mac
merge flag includes kustomization when flattening manifests, creating an invalid manifest
merge a split manifest that has a kustomization already created
No response
Linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.