patrickdappollonio / kubectl-slice

Split multiple Kubernetes files into smaller files with ease. Split multi-YAML files into individual files.
MIT License
286 stars 21 forks source link

Provide a Docker container with kubectl-slice inside #83

Open patrickdappollonio opened 1 year ago

patrickdappollonio commented 1 year ago

Some users have reached out asking for this app to be delivered via a container for multiple reasons:

The first option makes sense. It could even make sense to actually provide a Docker image with bash in it so people can run scripts and then rather than copying the binary in itself, they can simply run the action, grab the output, and pass it to another layer.

The 2nd option might be misleading: you're still downloading the app (alongside with an entire container for that matter). This could be helpful though in cases where a quick run "without installing" can be as simple as:

docker run -v $(pwd):/data ghcr.io/patrickdappollonio/kubectl-slice -f /data/example.yaml --stdout

Leaving this issue open to gather some feedback. If you're a user of the tool, and this might help you, I would love to know more, gauge sentiment and ship this!

cbmdfc commented 1 year ago

this would be helpful for my company

spasiba