Use `shp` as a kubectl plugin with Krew
Feature Request
Krew provides a management system for Kubernetes plugins. Kubernetes plugins have a fairly simple API contract:
- Binary must be named
kubectl-xxx, wherexxxis the plugin name. - Binary is placed in a specified path known to kubectl
This would allow the shp commands to be invoked indirectly with kubectl:
$ kubectl shp build run ...
There are a few advantages to creating a kubectl plugin:
- Shipwright's binary can inherit context/configuration from
kubectl. - Package managers like krew make it easier for developers to adopt Shipwright.
See the developer documentation for best practices on how we could distribute shp as a plugin.
/kind feature
From grooming: nothing that we consider to be done soon.
We should split this into tasks:
- Make sure we publish
kubectl-shpfor the same platforms supported; - Create and submit a Krew Manifest;
I'm interested in this,Can i work for it?
/cc @adambkaplan @SaschaSchwarze0 @otaviof
I'm interested in this,Can i work for it?
Sure, please go head! 🙏 Let me know anything I may help.