Feature Request
Krew provides a management system for Kubernetes plugins.
Kubernetes plugins have a fairly simple API contract:
- Binary must be named
kubectl-xxx, where xxx is 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
Feature Request
Krew provides a management system for Kubernetes plugins.
Kubernetes plugins have a fairly simple API contract:
kubectl-xxx, wherexxxis the plugin name.This would allow the
shpcommands to be invoked indirectly with kubectl:There are a few advantages to creating a kubectl plugin:
kubectl.See the developer documentation for best practices on how we could distribute
shpas a plugin./kind feature