0.0
The project is in a healthy, maintained state
Abstractions are God. Let's give praise and build on the shoulders of giants by using objects to represent schemas. It was written and to it became.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 13.0
~> 1.21
~> 3.13

Runtime

~> 2.5.0
~> 1.5.0
 Project Readme

kube_schema

Ruby objects for every Kubernetes resource. Validated against the real OpenAPI spec. No YAML. No hash literals. Just Ruby blocks that know their schema.

Usage

Please see the project documentation for more details.

  • Getting Started - This guide walks you through installing kube_schema and creating your first Kubernetes resource object.

  • The Block DSL - This guide covers the block DSL for defining Kubernetes resources with nested attributes.

  • Validation - This guide covers schema validation against the full Kubernetes OpenAPI spec.

  • Manifests - This guide covers grouping resources into multi-document YAML manifests.

  • Schema Versions - This guide covers working with different Kubernetes schema versions.

Related Projects

  • kube_cluster -- OOP resource management with dirty tracking and persistence
  • kube_kubectl -- Ruby DSL that compiles to kubectl and helm commands
  • kube_kit -- Generators for kube_cluster projects
  • kube_engine -- Kubernetes engine

License

Apache-2.0