A Kubernetes Resource Mappings for the Crystal Language.
Add this to your application's shard.yml
:
dependencies:
pyrite:
github: psykube/pyrite
Pyrite should support Kubernetes API from 1.6.0 and beyond. In order to use pyrite, you will want to include the VERSION that best maps to your k8s api version. Requiring more than one version at this time will result in an error.
require "pyrite/versions/v1.21"
Each version of kubernetes has its own generated types. The docs for each are listed below:
- Fork it ( https://github.com/jwaldrip/pyrite/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- [jwaldrip] Jason Waldrip - creator, maintainer