This crate is a Rust OpenShift API client. It contains bindings for the resources and operations in the OpenShift client API, auto-generated from the OpenAPI spec.
k8s_openapi
This work is based on the wonderful work from https://github.com/Arnavion/k8s-openapi. It does not contain
the Kubernetes APIs, that is handled by the k8s_openapi
crate. It only contains the types added by OpenShift
(like Route
and ImageStream
) and references the existing Kubernetes (like Pod
and Deployment
) from the
k8s_openapi
crate.
Note: This currently uses a patched version k8s-openapi
. A few changes to the
code generator had been necessary. This is currently being tracked in PR https://github.com/Arnavion/k8s-openapi/pull/68.
Use at your own risk!
| OpenShift Version | Feature | Kubernetes Version | k8s_openapi
Feature |
| ----------------- | ------- | ------------------ | --------------------- |
| 4.3.x | v4_3
| 1.16.x | v1_16
|
| 4.4.x | v4_4
| 1.17.x | v1_17
|
Note: Enabling a version feature (like v4_4
) in this crate, will automatically
enable the corresponding feature (like v1_17
) for the k8s_openapi
crate.